1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show failed times

This commit is contained in:
Nobuyoshi Nakada 2020-02-21 12:43:57 +09:00
parent eff0c5bf2a
commit f6b6a7ad34
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -24,7 +24,9 @@ describe "Process.clock_getres" do
# The clock should not be less accurate than reported (times should
# not all be a multiple of the next precision up, assuming precisions
# are multiples of ten.)
times.select { |t| t % (reported * 10) == 0 }.size.should_not == times.size
if times.all? { |t| t % (reported * 10) == 0 }
times.uniq.should be_empty
end
end
end
end