diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-08-26 02:00:30 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-08-26 02:00:30 +0900 |
| commit | f7f1aca8b541e1c8e3caf24dc5fb0d8c88383f8b (patch) | |
| tree | 376fd2ad10459ba7631d512a244891469397c318 | |
| parent | 5f2c7e47bb8993648f9738e12a2615af16293698 (diff) | |
| parent | 17c249780f93246873d6f7ce8fc54271e9165714 (diff) | |
| download | mruby-f7f1aca8b541e1c8e3caf24dc5fb0d8c88383f8b.tar.gz mruby-f7f1aca8b541e1c8e3caf24dc5fb0d8c88383f8b.zip | |
Merge pull request #3792 from dabroz/fix-test-int16
Fix string test with 16-bit integers
| -rw-r--r-- | mrbgems/mruby-sprintf/test/sprintf.rb | 2 |
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 |
