mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue