From f024c26770bd7e79902cae79396b3b65fc1f7597 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 17 Nov 2009 22:08:16 -0800 Subject: fixing more tests. yay --- test/yaml/test_yaml.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/yaml/test_yaml.rb') diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb index 15b8ca3..52d700d 100644 --- a/test/yaml/test_yaml.rb +++ b/test/yaml/test_yaml.rb @@ -914,6 +914,7 @@ EOY ) end + # MODIFIED for YAML compliance def test_spec_builtin_literal_blocks # Assortment of literal scalar blocks assert_parse_only( @@ -921,7 +922,7 @@ EOY empty: | literal: | - The \\ ' " characters may be + The \\\ ' " characters may be freely used. Leading white space is significant. @@ -931,7 +932,7 @@ literal: | single line break, but does not start with one. -is equal to: "The \\ ' \\" characters may \\ +is equal to: "The \\\\ ' \\" characters may \\ be\\nfreely used. Leading white\\n space \\ is significant.\\n\\nLine breaks are \\ significant.\\nThus this value contains \\ -- cgit v1.2.3