Skip to content
Permalink
Browse files
Fix time comparison in blocking FFI call spec.
  • Loading branch information
headius committed Dec 11, 2014
1 parent 8467e49 commit e3ff92256587306a9dbc21c13583ff675d45212b
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/ffi/function_spec.rb
@@ -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 }

0 comments on commit e3ff922

Please sign in to comment.