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

Do not check that #stime changes in Process.times spec

* Since the spec might not spend any time in system calls.
This commit is contained in:
Benoit Daloze 2020-03-28 14:32:22 +01:00
parent 11a381940b
commit 6413a26b6c

View file

@ -23,7 +23,6 @@ describe "Process.times" do
times = 1000.times.map { Process.times }
times.count { |t| !('%.6f' % t.utime).end_with?('000') }.should > 0
times.count { |t| !('%.6f' % t.stime).end_with?('000') }.should > 0
end
end
end