summaryrefslogtreecommitdiff
path: root/spec/ruby/core/math/tan_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/math/tan_spec.rb')
-rw-r--r--spec/ruby/core/math/tan_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/math/tan_spec.rb b/spec/ruby/core/math/tan_spec.rb
index bf5c80f77c..031fe75085 100644
--- a/spec/ruby/core/math/tan_spec.rb
+++ b/spec/ruby/core/math/tan_spec.rb
@@ -13,7 +13,7 @@ describe "Math.tan" do
Math.tan(-9.65).should be_close(-0.229109052606441, TOLERANCE)
end
- it "returns NaN if called with +-Infinitty" do
+ it "returns NaN if called with +-Infinity" do
Math.tan(infinity_value).nan?.should == true
Math.tan(-infinity_value).nan?.should == true
end