Sha256: dfa8449572809df35645ad60b073dc6d2fb177e5948b5f085e6394687188d80c
Contents?: true
Size: 552 Bytes
Versions: 15
Compression:
Stored size: 552 Bytes
Contents
# encoding: UTF-8 require_relative "./test_helper" class HTML4Test < Test::Unit::TestCase attr_reader :html_entities def setup @html_entities = HTMLEntities.new('html4') end # Found by Marcos Kuhns def test_should_not_encode_apos_entity assert_equal "'", html_entities.encode("'", :basic) end def test_should_not_decode_apos_entity assert_equal "é'", html_entities.decode("é'") end def test_should_not_decode_dotted_entity assert_equal "&b.Theta;", html_entities.decode("&b.Theta;") end end
Version data entries
15 entries across 15 versions & 8 rubygems