Sha256: 6099fbaa06d5f9d9de071f184d3ffe080b70cf32aecd1646973c81bc6a4c6ec2

Contents?: true

Size: 340 Bytes

Versions: 446

Compression:

Stored size: 340 Bytes

Contents

require "helper"

module Nokogiri
  module HTML
    class TestNamedCharacters < Nokogiri::TestCase
      def test_named_character
        copy = NamedCharacters.get('copy')
        assert_equal 169, NamedCharacters['copy']
        assert_equal copy.value, NamedCharacters['copy']
        assert copy.description
      end
    end
  end
end

Version data entries

446 entries across 436 versions & 41 rubygems

Version Path
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.5/test/html/test_named_characters.rb
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.4/test/html/test_named_characters.rb
nokogiri-1.9.0.rc1 test/html/test_named_characters.rb
nokogiri-1.9.0.rc1-x86-mingw32 test/html/test_named_characters.rb
nokogiri-1.9.0.rc1-x64-mingw32 test/html/test_named_characters.rb
nokogiri-1.9.0.rc1-java test/html/test_named_characters.rb
nokogiri-1.8.5 test/html/test_named_characters.rb
nokogiri-1.8.5-x86-mingw32 test/html/test_named_characters.rb
nokogiri-1.8.5-x64-mingw32 test/html/test_named_characters.rb
nokogiri-1.8.5-java test/html/test_named_characters.rb
daslabs-0.12.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/test/html/test_named_characters.rb
daslabs-0.11.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/test/html/test_named_characters.rb
nokogiri-1.8.4 test/html/test_named_characters.rb
nokogiri-1.8.4-x86-mingw32 test/html/test_named_characters.rb
nokogiri-1.8.4-x64-mingw32 test/html/test_named_characters.rb
nokogiri-1.8.4-java test/html/test_named_characters.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.3/test/html/test_named_characters.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/nokogiri-1.8.3/test/html/test_named_characters.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.3/test/html/test_named_characters.rb
tdiary-5.0.9 vendor/bundle/gems/nokogiri-1.8.2/test/html/test_named_characters.rb