diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_integer.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_integer.rb b/test/ruby/test_integer.rb index b2042b0761..7997ba65f7 100644 --- a/test/ruby/test_integer.rb +++ b/test/ruby/test_integer.rb @@ -645,5 +645,8 @@ class TestInteger < Test::Unit::TestCase assert_nothing_raised(ArgumentError, "[ruby-core:13873]") { assert_equal(0, Integer("0 ")) } + assert_nothing_raised(ArgumentError, "[ruby-core:14139]") { + assert_equal(0377, Integer("0_3_7_7")) + } end end |