summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-02-04 23:01:15 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-02-04 23:01:15 -0800
commitf2f75f3067611752cfe40b843515d0c73dd41cb6 (patch)
treea60d14b5e23b5cd4055dce8994205eafc66451b2 /test
parentb384d4e78c142f8b05fffbdfe7ed813582ea4307 (diff)
downloadpsych-f2f75f3067611752cfe40b843515d0c73dd41cb6.zip
brigning yaml tests up to date with ruby trunk
Diffstat (limited to 'test')
-rw-r--r--test/yaml/test_yaml.rb26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb
index 5691690..f874500 100644
--- a/test/yaml/test_yaml.rb
+++ b/test/yaml/test_yaml.rb
@@ -1093,27 +1093,27 @@ EOY
book_struct.new( "This should be the ISBN", "but I have another struct here", 2002, "None" )
) ], <<EOY
- !ruby/struct:BookStruct
- :author: Yukihiro Matsumoto
- :title: Ruby in a Nutshell
- :year: 2002
- :isbn: 0-596-00214-9
+ author: Yukihiro Matsumoto
+ title: Ruby in a Nutshell
+ year: 2002
+ isbn: 0-596-00214-9
- !ruby/struct:BookStruct
- :author:
+ author:
- Dave Thomas
- Andy Hunt
- :title: The Pickaxe
- :year: 2002
- :isbn: !ruby/struct:BookStruct
- :author: This should be the ISBN
- :title: but I have another struct here
- :year: 2002
- :isbn: None
+ title: The Pickaxe
+ year: 2002
+ isbn: !ruby/struct:BookStruct
+ author: This should be the ISBN
+ title: but I have another struct here
+ year: 2002
+ isbn: None
EOY
)
assert_to_yaml( YAML_Tests::StructTest.new( 123 ), <<EOY )
--- !ruby/struct:YAML_Tests::StructTest
-:c: 123
+c: 123
EOY
end