Test_set and test_hash

e$B$$$/$D$+!"e(BHash e$B$^$o$j$N%F%9%H<:GT$NA}2C$,8+$i$l$^$9!#e(B

http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20070821T135702.diff.txt.gz

% ./ruby test/test_set.rb
Loaded suite test/test_set
Started
…F.F…F…F…
Finished in 0.060041 seconds.

  1. Failure:
    test_clear(TC_Set) [/home/akr/ruby/yarvo0/lib/ruby/1.9/set.rb:724]:
    expected but was
    .

  2. Failure:
    test_collect!(TC_Set) [/home/akr/ruby/yarvo0/lib/ruby/1.9/set.rb:1004]:
    <#<Set: {2, 4, 6, “A”, “B”, “C”, nil}>> expected but was
    <#<Set: {2, 4, 6, “A”, “B”, “C”, nil}>>.

  3. Failure:
    test_flatten(TC_Set) [/home/akr/ruby/yarvo0/lib/ruby/1.9/set.rb:769]:
    <#<Set: {0, 1, 2, 3, 4, 5, 6, 7}>> expected but was
    <#<Set: {1, 5, 7, 0, 6, 2, 3, 4}>>.

  4. Failure:
    test_replace(TC_Set) [/home/akr/ruby/yarvo0/lib/ruby/1.9/set.rb:732]:
    <#<Set: {“a”, “b”, “c”}>> expected but was
    <#<Set: {“a”, “b”, “c”}>>.

33 tests, 168 assertions, 4 failures, 0 errors
zsh: exit 1 ./ruby test/test_set.rb
% ./ruby test/ruby/test_hash.rb
Loaded suite test/ruby/test_hash
Started
…F…
Finished in 0.050935 seconds.

  1. Failure:
    test_clear(TestHash) [test/ruby/test_hash.rb:196]:
    <0> expected but was
    <7>.

41 tests, 301 assertions, 1 failures, 0 errors
zsh: exit 1 ./ruby test/ruby/test_hash.rb
% ./ruby -v
ruby 1.9.0 (2007-08-21 patchlevel 0) [i686-linux]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs