summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float/shared/abs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float/shared/abs.rb')
-rw-r--r--spec/ruby/core/float/shared/abs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/float/shared/abs.rb b/spec/ruby/core/float/shared/abs.rb
index 607983322d..ab21480e24 100644
--- a/spec/ruby/core/float/shared/abs.rb
+++ b/spec/ruby/core/float/shared/abs.rb
@@ -16,6 +16,6 @@ describe :float_abs, shared: true do
end
it "returns NaN if NaN" do
- nan_value.send(@method).nan?.should be_true
+ nan_value.send(@method).nan?.should == true
end
end