test/grammar_test.rb in toml-rb-0.3.9 vs test/grammar_test.rb in toml-rb-0.3.10

- old
+ new

@@ -77,11 +77,11 @@ def test_special_characters match = TOML::Document.parse('"\0 \" \t \n \r"', root: :string) assert_equal("\0 \" \t \n \r", match.value) - match = TOML::Document.parse('"C:\\Documents\\virus.exe"', root: :string) - assert_equal('C:\\Documents\\virus.exe', match.value) + match = TOML::Document.parse('"C:\\\\Documents\\\\nada.exe"', root: :string) + assert_equal('C:\\Documents\\nada.exe', match.value) end def test_bool match = TOML::Document.parse('true', root: :bool) assert_equal(true, match.value)