diff options
author | Benoit Daloze <[email protected]> | 2022-01-10 16:29:54 +0100 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2022-01-10 16:29:54 +0100 |
commit | 4053e8ba0d39b688440fedee2ab3fffabcd64312 (patch) | |
tree | 8a29366a09cd159798fada68fb1007a2fece5ec6 /spec/ruby/core/math | |
parent | 8abfc106058d09840d13f64e7e87cb7e40c3d6fa (diff) |
Update to ruby/spec@226cfdc
Diffstat (limited to 'spec/ruby/core/math')
-rw-r--r-- | spec/ruby/core/math/log2_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/math/log2_spec.rb b/spec/ruby/core/math/log2_spec.rb index 1594f2d7af..3d4d41d130 100644 --- a/spec/ruby/core/math/log2_spec.rb +++ b/spec/ruby/core/math/log2_spec.rb @@ -15,7 +15,7 @@ describe "Math.log2" do Math.log2((2**301+45677544234809571)).should == 301.0 end - it "raises an Errno::EDOM if the argument is less than 0" do + it "raises Math::DomainError if the argument is less than 0" do -> { Math.log2(-1e-15) }.should raise_error( Math::DomainError) end |