aboutsummaryrefslogtreecommitdiffstats
path: root/test/scanf
diff options
context:
space:
mode:
Diffstat (limited to 'test/scanf')
-rw-r--r--test/scanf/test_scanf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb
index 2ec4e54d94..169ffe63a1 100644
--- a/test/scanf/test_scanf.rb
+++ b/test/scanf/test_scanf.rb
@@ -276,6 +276,8 @@ module ScanfTests
[ "%g", "+3.25", [3.25] ],
[ "%G", "+3.25e2", [325.0] ],
[ "%f", "3.z", [3.0] ],
+ [ "%a", "0X1P+10", [1024.0] ],
+ [ "%A", "0x1.deadbeefp+99", [1.1851510441583988e+30] ],
# Testing embedded matches including literal '[' behavior
[",%d,%f", ",10,1.1", [10,1.1] ],