mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tests for MiniTest define anonymous test cases
This commit is contained in:
parent
e1c3cb9357
commit
fb978fab6d
1 changed files with 1 additions and 1 deletions
|
@ -1419,7 +1419,7 @@ module MiniTest
|
||||||
end
|
end
|
||||||
suites = suites.sort_by do |suite|
|
suites = suites.sort_by do |suite|
|
||||||
crc32 = 0xffffffff
|
crc32 = 0xffffffff
|
||||||
(suite.name + salt).each_byte do |data|
|
"#{suite.name}#{salt}".each_byte do |data|
|
||||||
crc32 = crc_tbl[(crc32 ^ data) & 0xff] ^ (crc32 >> 8)
|
crc32 = crc_tbl[(crc32 ^ data) & 0xff] ^ (crc32 >> 8)
|
||||||
end
|
end
|
||||||
crc32 ^ 0xffffffff
|
crc32 ^ 0xffffffff
|
||||||
|
|
Loading…
Reference in a new issue