summaryrefslogtreecommitdiff
path: root/test/psych/test_alias_and_anchor.rb
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-17 16:13:10 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-17 16:13:10 +0000
commitb69f55a6733f6a70627d7ea809b8c9c026e7671b (patch)
treefdcffe433d819141d58c7e1abf968acaa0de9e5b /test/psych/test_alias_and_anchor.rb
parentcb0d480532c416ca6db0ca4d0ec8c0461b58f84c (diff)
* lib/open-uri.rb: delete space.
* test/psych/test_alias_and_anchor.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_alias_and_anchor.rb')
-rw-r--r--test/psych/test_alias_and_anchor.rb10
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 aa4773bce4..7cb5a6e52b 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