ruby / set

This library provides the Set class, which deals with a collection of unordered values with no duplicates.
BSD 2-Clause "Simplified" License
23 stars 13 forks source link

CI fails on a test in "head" - sets were not equal #14

Closed olleolleolle closed 3 years ago

olleolleolle commented 3 years ago

This Issue is a sign-post issue about the failed test in CI, which happens on the head-ubuntu build target.

``` Started ...............F =============================================================================== Failure: test_eq(TC_Set) /home/runner/work/set/set/test/test_set.rb:643:in `test_eq' 640: set2 = Set["a", "b", set1] 641: set1 = set1.add(set1.clone) 642: => 643: assert_equal(set2, set2.clone) 644: assert_equal(set1.clone, set1) 645: 646: assert_not_equal(Set[Exception.new,nil], Set[Exception.new,Exception.new], "[ruby-dev:26127]") <#}>}>> expected but was <#}>}>> diff: #}>}> =============================================================================== ................................. Finished in 0.261893699 seconds. ------------------------------------------------------------------------------- 49 tests, 333 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 97.9592% passed ------------------------------------------------------------------------------- 187.10 tests/s, 1271.51 assertions/s rake aborted! Command failed with status (1) ```
marcandre commented 3 years ago

Right, I'll import the relevant change from https://github.com/ruby/ruby/commit/0ef2923c2b9afb7

olleolleolle commented 3 years ago

So, this bug lived for 60 minutes.