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:
parent
11a381940b
commit
6413a26b6c
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue