summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-03-28 14:27:13 +0100
committerBenoit Daloze <eregontp@gmail.com>2020-03-28 14:27:13 +0100
commit11a381940b1cc546661fabc37c23c35404fc9a88 (patch)
treedafd4520dd4709a93030c31ae4ac1f55a43639ae /spec/ruby
parent5fa12dafa8cb8f7158452356611967880745bba5 (diff)
Remove debugging code
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/process/times_spec.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/ruby/core/process/times_spec.rb b/spec/ruby/core/process/times_spec.rb
index 28896a96ff..35a7f5b34c 100644
--- a/spec/ruby/core/process/times_spec.rb
+++ b/spec/ruby/core/process/times_spec.rb
@@ -23,14 +23,7 @@ describe "Process.times" do
times = 1000.times.map { Process.times }
times.count { |t| !('%.6f' % t.utime).end_with?('000') }.should > 0
- n = times.count { |t| !('%.6f' % t.stime).end_with?('000') }
- if n == 0
- # temporal debugging code for FreeBSD: https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-master/log/20200125T093004Z.fail.html.gz
- puts "DEBUG OUTPUT"
- p(*times)
- puts "DEBUG OUTPUT END"
- end
- n.should > 0
+ times.count { |t| !('%.6f' % t.stime).end_with?('000') }.should > 0
end
end
end