diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-18 17:32:44 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-18 17:32:44 -0700 |
commit | 2e7bdb3ea359779c98b7ed1ca77491d317070b88 (patch) | |
tree | 2bd58f444b285b397daa573cc37372265f1ed184 | |
parent | 0dbe055aaf76efd4fbab18e7eac64342a1b6cf92 (diff) | |
download | psych-2e7bdb3ea359779c98b7ed1ca77491d317070b88.zip |
sync with ruby trunk
-rw-r--r-- | test/psych/test_alias_and_anchor.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/psych/test_alias_and_anchor.rb b/test/psych/test_alias_and_anchor.rb index aa4773b..7cb5a6e 100644 --- a/test/psych/test_alias_and_anchor.rb +++ b/test/psych/test_alias_and_anchor.rb @@ -24,8 +24,8 @@ EOYAML def test_mri_compatibility_object_with_ivars yaml = <<EOYAML ---- -- &id001 !ruby/object:ObjectWithInstanceVariables +--- +- &id001 !ruby/object:ObjectWithInstanceVariables var1: test1 var2: test2 - *id001 @@ -33,7 +33,7 @@ EOYAML EOYAML result = Psych.load yaml - result.each do |el| + result.each do |el| assert_same(result[0], el) assert_equal('test1', el.var1) assert_equal('test2', el.var2) @@ -42,8 +42,8 @@ EOYAML def test_mri_compatibility_substring_with_ivars yaml = <<EOYAML ---- -- &id001 !str:SubStringWithInstanceVariables +--- +- &id001 !str:SubStringWithInstanceVariables str: test "@var1": test - *id001 |