diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-03-28 14:32:22 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-03-28 14:32:22 +0100 |
commit | 6413a26b6c90aeb6768cc1fa1dcf69de8e6bf36f (patch) | |
tree | 48215e7d66317f4a899f4584fb53e7dd6bc911da | |
parent | 11a381940b1cc546661fabc37c23c35404fc9a88 (diff) | |
download | ruby-6413a26b6c90aeb6768cc1fa1dcf69de8e6bf36f.tar.gz |
Do not check that #stime changes in Process.times spec
* Since the spec might not spend any time in system calls.
-rw-r--r-- | spec/ruby/core/process/times_spec.rb | 1 |
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 |