diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-09-05 23:02:53 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-05 23:02:53 +0900 |
| commit | c3b16c26a6a4729ec7b1ca69e7b13f2d8af2adf8 (patch) | |
| tree | a4be80365ab45b6bc8069df04126b26721785372 | |
| parent | 968547d79b957d87a4fee3fdc9224c4d8c936317 (diff) | |
| parent | 6cfcff6f10c2f3274b36c0025fb807468e79eef2 (diff) | |
| download | mruby-c3b16c26a6a4729ec7b1ca69e7b13f2d8af2adf8.tar.gz mruby-c3b16c26a6a4729ec7b1ca69e7b13f2d8af2adf8.zip | |
Merge pull request #4691 from shuujii/fix-Range-max-test-TypeError-is-raised-on-32-bit-mode-with-word-boxing
Fix `Range#max` test (`TypeError` is raised) on 32-bit mode with word boxing
| -rw-r--r-- | mrbgems/mruby-range-ext/test/range.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-range-ext/test/range.rb b/mrbgems/mruby-range-ext/test/range.rb index 8179cef53..865e46d02 100644 --- a/mrbgems/mruby-range-ext/test/range.rb +++ b/mrbgems/mruby-range-ext/test/range.rb @@ -39,7 +39,7 @@ assert('Range#max') do # returns the maximum value in the range when called with no arguments assert_equal 10, (1..10).max assert_equal 9, (1...10).max - assert_equal 1073741823, (0...2**30).max + assert_equal 536870911, (0...2**29).max # returns nil when the endpoint is less than the start point assert_equal nil, (100..10).max |
