diff --git a/ChangeLog b/ChangeLog index e138e01a0d..a0eb2b9ba5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Feb 8 22:02:14 2007 Koichi Sasada + + * test/ruby/marshaltestlib.rb: eval(sym) -> eval(sym.to_s) + Thu Feb 8 21:35:16 2007 Masaki Suketa * test/win32ole/test_propertyputref.rb (setup): fix typo. diff --git a/test/ruby/marshaltestlib.rb b/test/ruby/marshaltestlib.rb index 891f43b1f7..f334945c80 100644 --- a/test/ruby/marshaltestlib.rb +++ b/test/ruby/marshaltestlib.rb @@ -29,8 +29,8 @@ module MarshalTestLib iv1 = o1.instance_variables.sort iv2 = o2.instance_variables.sort assert_equal(iv1, iv2) - val1 = iv1.map {|var| o1.instance_eval {eval var}} - val2 = iv1.map {|var| o2.instance_eval {eval var}} + val1 = iv1.map {|var| o1.instance_eval {eval var.to_s}} + val2 = iv1.map {|var| o2.instance_eval {eval var.to_s}} assert_equal(val1, val2, msg) if block_given? assert_equal(yield(o1), yield(o2), msg)