summaryrefslogtreecommitdiff
path: root/test/scanf/test_scanf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/scanf/test_scanf.rb')
-rw-r--r--test/scanf/test_scanf.rb2
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] ],