summaryrefslogtreecommitdiff
path: root/spec/ruby/library/complex/math/shared/asinh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/complex/math/shared/asinh.rb')
-rw-r--r--spec/ruby/library/complex/math/shared/asinh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/complex/math/shared/asinh.rb b/spec/ruby/library/complex/math/shared/asinh.rb
index b4256e7475..b4ddd3a22e 100644
--- a/spec/ruby/library/complex/math/shared/asinh.rb
+++ b/spec/ruby/library/complex/math/shared/asinh.rb
@@ -27,6 +27,6 @@ describe :complex_math_asinh_bang, shared: true do
end
it "raises a TypeError when passed a Complex number" do
- lambda { @object.send(:asinh!, Complex(4, 5)) }.should raise_error(TypeError)
+ -> { @object.send(:asinh!, Complex(4, 5)) }.should raise_error(TypeError)
end
end