mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed duplicate test with test_BigDecimal_bug7522
This commit is contained in:
parent
4ea57c2a39
commit
6236bbf363
1 changed files with 0 additions and 5 deletions
|
@ -54,11 +54,6 @@ class TestBigDecimal < Test::Unit::TestCase
|
|||
assert_equal(111, BigDecimal("1_1_1_"))
|
||||
assert_equal(10**(-1), BigDecimal("1E-1"), '#4825')
|
||||
assert_equal(1234, BigDecimal(" \t\n\r \r1234 \t\n\r \r"))
|
||||
bd = BigDecimal("1.12", 1)
|
||||
assert_same(bd, BigDecimal(bd))
|
||||
assert_same(bd, BigDecimal(bd, exception: false))
|
||||
assert_not_same(bd, BigDecimal(bd, 1))
|
||||
assert_not_same(bd, BigDecimal(bd, 1, exception: false))
|
||||
|
||||
assert_raise(ArgumentError) { BigDecimal("1", -1) }
|
||||
assert_raise_with_message(ArgumentError, /"1__1_1"/) { BigDecimal("1__1_1") }
|
||||
|
|
Loading…
Add table
Reference in a new issue