diff options
Diffstat (limited to 'spec/ruby/core/string/to_f_spec.rb')
-rw-r--r-- | spec/ruby/core/string/to_f_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ruby/core/string/to_f_spec.rb b/spec/ruby/core/string/to_f_spec.rb index ca8536c30e..cf64ecfc5d 100644 --- a/spec/ruby/core/string/to_f_spec.rb +++ b/spec/ruby/core/string/to_f_spec.rb @@ -12,6 +12,7 @@ describe "String#to_f" do ".5".to_f.should == 0.5 ".5e1".to_f.should == 5.0 + "5.".to_f.should == 5.0 "5e".to_f.should == 5.0 "5E".to_f.should == 5.0 end |