Permalink
Browse files

Escaping a quote in a test to fix Emacs font-lock mode rendering.

  • Loading branch information...
1 parent 1dac580 commit 09305a672a49505fb988b7051176e0c52df2139f @flavorjones flavorjones committed Jun 21, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/xml/test_node.rb
View
@@ -858,7 +858,7 @@ def test_encoding_of_copied_nodes
ne = d1.root.xpath('//a').first.dup(1)
ne.content += "& < & > \" &"
d2.root << ne
- assert_match /<a>&amp;&amp; &lt; &amp; &gt; " &amp;<\/a>/, d2.to_s
+ assert_match /<a>&amp;&amp; &lt; &amp; &gt; \" &amp;<\/a>/, d2.to_s
end
def test_content_after_appending_text

0 comments on commit 09305a6

Please sign in to comment.