Project

General

Profile

Bug #13959 » test.txt

Test result - fitmap (Justin Peal), 10/01/2017 05:31 AM

 
E:\>test.rb
Loaded suite E:/$/test
Started
..F
=====================================================================================================================
Failure: test_load_dump_3(LoadDumpTest)
E:/$/test.rb:90:in `marshal_load_dump_cross'
E:/$/test.rb:115:in `test_load_dump_3'
112: yaml_load_dump_same obj
113: yaml_load_dump_cross obj
114: marshal_load_dump_same obj
=> 115: marshal_load_dump_cross obj
116: end
117:
118: def test_load_dump_4
<{:array=>["Chinese", "English"], :hash=>{:c=>"Chinese", :e=>"English"}}> expected but was
<{:"\narray[\a"=>"Chinese", "English"=>:hash}>

diff:
? {:"\narray=>[\a"Chinese", "English"], :hash=>{:c=>"Chinese", :e=>"English"=>:hash}}
=====================================================================================================================
E
=====================================================================================================================
Error: test_load_dump_4(LoadDumpTest): NoMethodError: undefined method `keys' for nil:NilClass
C:/Ruby24/lib/ruby/2.4.0/set.rb:182:in `to_a'
C:/Ruby24/lib/ruby/2.4.0/set.rb:566:in `inspect'
E:/$/test.rb:90:in `marshal_load_dump_cross'
E:/$/test.rb:123:in `test_load_dump_4'
120: yaml_load_dump_same obj
121: yaml_load_dump_cross obj
122: marshal_load_dump_same obj
=> 123: marshal_load_dump_cross obj
124: end
125: end
=====================================================================================================================


Finished in 0.118133 seconds.
---------------------------------------------------------------------------------------------------------------------
4 tests, 38 assertions, 1 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
50% passed
---------------------------------------------------------------------------------------------------------------------
33.86 tests/s, 321.67 assertions/s
(2-2/2)