diff options
Diffstat (limited to 'spec/ruby/library/complex/math/shared/sinh.rb')
-rw-r--r-- | spec/ruby/library/complex/math/shared/sinh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/complex/math/shared/sinh.rb b/spec/ruby/library/complex/math/shared/sinh.rb index bd85bd0799..de80a376da 100644 --- a/spec/ruby/library/complex/math/shared/sinh.rb +++ b/spec/ruby/library/complex/math/shared/sinh.rb @@ -23,6 +23,6 @@ describe :complex_math_sinh_bang, shared: true do end it "raises a TypeError when passed a Complex number" do - lambda { @object.send(:sinh!, Complex(4, 5)) }.should raise_error(TypeError) + -> { @object.send(:sinh!, Complex(4, 5)) }.should raise_error(TypeError) end end |