summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/process/times_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/process/times_spec.rb b/spec/ruby/core/process/times_spec.rb
index 6142cd257c..30504ca3cf 100644
--- a/spec/ruby/core/process/times_spec.rb
+++ b/spec/ruby/core/process/times_spec.rb
@@ -30,7 +30,7 @@ describe "Process.times" do
found = (max * 100).times.find do
time = Process.times.utime
- ('%.6f' % time).end_with?('000')
+ !('%.6f' % time).end_with?('000')
end
found.should_not == nil