summaryrefslogtreecommitdiff
path: root/test/yaml/test_struct.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-04 17:11:00 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-04 17:11:00 +0000
commit510cde74a6c5c810fb96980ac0d1a9d806d562c3 (patch)
treec096f197f8445e9f3e24af60978533e2a2c3bc9c /test/yaml/test_struct.rb
parentf6b75e30d8b7f1adfefc506fcb23768c2276fa32 (diff)
* lib/yaml/rubytypes.rb: Struct members are emitted without a leading
colon. Thanks Yusuke Endoh! [ruby-core:28052] * test/yaml/test_struct.rb: fixed tests to go with Struct changes * test/yaml/test_yaml.rb: fixed tests to go with Struct changes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml/test_struct.rb')
-rw-r--r--test/yaml/test_struct.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/yaml/test_struct.rb b/test/yaml/test_struct.rb
index c14218e933..b5f944c788 100644
--- a/test/yaml/test_struct.rb
+++ b/test/yaml/test_struct.rb
@@ -22,8 +22,8 @@ module YAML
def test_load
obj = YAML.load(<<-eoyml)
--- !ruby/struct:StructWithIvar
-:foo: bar
-:@bar: hello
+foo: bar
+@bar: hello
eoyml
assert_equal 'hello', obj.bar