summaryrefslogtreecommitdiff
path: root/test/erb
diff options
context:
space:
mode:
Diffstat (limited to 'test/erb')
-rw-r--r--test/erb/test_erb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/erb/test_erb.rb b/test/erb/test_erb.rb
index 66576d9..e609d47 100644
--- a/test/erb/test_erb.rb
+++ b/test/erb/test_erb.rb
@@ -40,7 +40,7 @@ class TestERB < Test::Unit::TestCase
def test_html_escape
# TODO: &apos; should be changed to &#x27;
- assert_equal(" !&quot;\#$%&amp;&apos;()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",
+ assert_equal(" !&quot;\#$%&amp;&#x27;()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",
ERB::Util.html_escape(" !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"))
assert_equal("", ERB::Util.html_escape(""))