avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0884b1d8b1
commit
2f9ecb628b
@ -17,7 +17,7 @@ module MarshalTestLib
|
|||||||
|
|
||||||
def marshaltest(o1)
|
def marshaltest(o1)
|
||||||
str = encode(o1)
|
str = encode(o1)
|
||||||
print str, "\n" if $DEBUG
|
print str.dump, "\n" if $DEBUG
|
||||||
o2 = decode(str)
|
o2 = decode(str)
|
||||||
o2
|
o2
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user