Commit f7f1aca8 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3792 from dabroz/fix-test-int16

Fix string test with 16-bit integers
parents 5f2c7e47 17c24978
...@@ -94,7 +94,7 @@ end ...@@ -94,7 +94,7 @@ end
assert("String#% %d") do assert("String#% %d") do
assert_equal(" 10", "%4d" % 10) assert_equal(" 10", "%4d" % 10)
assert_equal("1000", "%4d" % 1000) assert_equal("1000", "%4d" % 1000)
assert_equal("100000", "%4d" % 100000) assert_equal("10000", "%4d" % 10000)
end end
assert("String#% invalid format") do assert("String#% invalid format") do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment