diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 00:56:35 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-28 00:56:35 +0000 |
commit | 63dd50961e08172bb88358d95d50efee4c6eead0 (patch) | |
tree | 7aa314bf6392150a28f8b8590f0c170dac0c8679 /test/scanf/test_scanf.rb | |
parent | c08277c62d4d372288eb0b8f222758542d9168b6 (diff) |
* lib/scanf.rb: fix %[egEFG] isn't accept.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/scanf/test_scanf.rb')
-rw-r--r-- | test/scanf/test_scanf.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb index 893b51e736..4526e73641 100644 --- a/test/scanf/test_scanf.rb +++ b/test/scanf/test_scanf.rb @@ -270,11 +270,11 @@ module ScanfTests # Testing 'f' [ "%2f", "x", [0.0] ], # width-floats match anything (by design) - [ "%f", "1.23e45", [1.23e+45] ], - [ "%f", "3.25ee", [3.25] ], - [ "%f", "3..25", [3.0] ], - [ "%f", "+3.25", [3.25] ], - [ "%f", "+3.25e2", [325.0] ], + [ "%F", "1.23e45", [1.23e+45] ], + [ "%e", "3.25ee", [3.25] ], + [ "%E", "3..25", [3.0] ], + [ "%g", "+3.25", [3.25] ], + [ "%G", "+3.25e2", [325.0] ], [ "%f", "3.z", [3.0] ], # Testing embedded matches including literal '[' behavior |