diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-18 19:20:02 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-18 19:20:02 -0700 |
| commit | 70d7031e7a373ed5d22453c30c082906bbd42373 (patch) | |
| tree | a71eec68757870a783b6c0ffb7eda59120193f1d | |
| parent | c5eff2e49a65bfe0670a8ec5838832991da3b0b7 (diff) | |
| parent | 7be117df4c0e9470e2c806e6132d57e98fbbc27b (diff) | |
| download | mruby-70d7031e7a373ed5d22453c30c082906bbd42373.tar.gz mruby-70d7031e7a373ed5d22453c30c082906bbd42373.zip | |
Merge pull request #1389 from carsonmcdonald/stringtestfix
Fix string test for so that it works for int16
| -rw-r--r-- | test/t/string.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/string.rb b/test/t/string.rb index ddae92d4a..c208835b4 100644 --- a/test/t/string.rb +++ b/test/t/string.rb @@ -399,12 +399,12 @@ end assert('String#to_i', '15.2.10.5.38') do a = ''.to_i - b = '123456789'.to_i + b = '32143'.to_i c = 'a'.to_i(16) d = '100'.to_i(2) assert_equal a, 0 - assert_equal b, 123456789 + assert_equal b, 32143 assert_equal c, 10 assert_equal d, 4 end |
