Skip to content

Commit

Permalink
Fix time comparison in blocking FFI call spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 11, 2014
1 parent 8467e49 commit e3ff922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ffi/function_spec.rb
Expand Up @@ -68,7 +68,7 @@ class << self; self; end
Thread.new do
time = Time.now
fp.call(2)
expect(Time.now - time).to be > 2
expect(Time.now - time).to be >= 2
end
end
threads.each { |t| t.join }
Expand Down

0 comments on commit e3ff922

Please sign in to comment.