diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 04:26:42 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 04:26:42 +0000 |
commit | 1720e7e0dff72463bd0715200ca48b0af365e7c2 (patch) | |
tree | 534860e5271f26cc5cfcd3661f1ea28f11a86922 /test/scanf/test_scanf.rb | |
parent | 1392791a9e1b046f9e14711a24e51a4e5875c100 (diff) |
* lib/scanf.rb: fix max width modifier for %f.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/scanf/test_scanf.rb')
-rw-r--r-- | test/scanf/test_scanf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb index 4526e73641..2ec4e54d94 100644 --- a/test/scanf/test_scanf.rb +++ b/test/scanf/test_scanf.rb @@ -269,7 +269,7 @@ module ScanfTests [ "%[[:upper:]]", "ABCdefGHI", [ "ABC" ] ], # Testing 'f' - [ "%2f", "x", [0.0] ], # width-floats match anything (by design) + [ "%2f", "x", [] ], [ "%F", "1.23e45", [1.23e+45] ], [ "%e", "3.25ee", [3.25] ], [ "%E", "3..25", [3.0] ], |