diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-09-07 19:01:07 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2021-09-07 19:01:07 +0200 |
commit | 258661409e9e3fd470f006975ded872778aad4f4 (patch) | |
tree | 4cd23fe290feb50f4d41349013dbb41bdf12117f /spec/ruby/core/float | |
parent | a375640ea561d1f7c4d2d89839007b3a973a04e0 (diff) |
Update to ruby/spec@b1e93a2
Diffstat (limited to 'spec/ruby/core/float')
-rw-r--r-- | spec/ruby/core/float/comparison_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/core/float/comparison_spec.rb b/spec/ruby/core/float/comparison_spec.rb index e367198903..a46841ffbf 100644 --- a/spec/ruby/core/float/comparison_spec.rb +++ b/spec/ruby/core/float/comparison_spec.rb @@ -14,6 +14,9 @@ describe "Float#<=>" do it "returns nil when the given argument is not a Float" do (1.0 <=> "1").should be_nil + (1.0 <=> "1".freeze).should be_nil + (1.0 <=> :one).should be_nil + (1.0 <=> true).should be_nil end it "compares using #coerce when argument is not a Float" do |