summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/times_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-03-28 14:32:22 +0100
committerBenoit Daloze <eregontp@gmail.com>2020-03-28 14:32:22 +0100
commit6413a26b6c90aeb6768cc1fa1dcf69de8e6bf36f (patch)
tree48215e7d66317f4a899f4584fb53e7dd6bc911da /spec/ruby/core/process/times_spec.rb
parent11a381940b1cc546661fabc37c23c35404fc9a88 (diff)
Do not check that #stime changes in Process.times spec
* Since the spec might not spend any time in system calls.
Diffstat (limited to 'spec/ruby/core/process/times_spec.rb')
-rw-r--r--spec/ruby/core/process/times_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/core/process/times_spec.rb b/spec/ruby/core/process/times_spec.rb
index 35a7f5b34c..8ab91da8ce 100644
--- a/spec/ruby/core/process/times_spec.rb
+++ b/spec/ruby/core/process/times_spec.rb
@@ -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