summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomasz Dąbrowski <[email protected]>2017-08-25 14:35:16 +0200
committerTomasz Dąbrowski <[email protected]>2017-08-25 14:36:05 +0200
commit17c249780f93246873d6f7ce8fc54271e9165714 (patch)
tree31caab0d667849445acd2cde301aed0ba899fc0b
parent63f10a1ee59743c086afc339f25da4f6e100e765 (diff)
downloadmruby-17c249780f93246873d6f7ce8fc54271e9165714.tar.gz
mruby-17c249780f93246873d6f7ce8fc54271e9165714.zip
fix `String#% %d` test with `MRB_INT16` set
-rw-r--r--mrbgems/mruby-sprintf/test/sprintf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/test/sprintf.rb b/mrbgems/mruby-sprintf/test/sprintf.rb
index 84dba9d19..e3b66ef9c 100644
--- a/mrbgems/mruby-sprintf/test/sprintf.rb
+++ b/mrbgems/mruby-sprintf/test/sprintf.rb
@@ -94,7 +94,7 @@ end
assert("String#% %d") do
assert_equal(" 10", "%4d" % 10)
assert_equal("1000", "%4d" % 1000)
- assert_equal("100000", "%4d" % 100000)
+ assert_equal("10000", "%4d" % 10000)
end
assert("String#% invalid format") do