test_rational.rb: invalid exponent
* test/ruby/test_rational.rb (test_parse): more checks for invalid exponent. [ruby-core:80098] [Bug #13105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a6f2391ea
commit
a441e89c78
@ -726,6 +726,10 @@ class Rational_Test < Test::Unit::TestCase
|
||||
ok[500, 1, '5e2']
|
||||
ok[5000, 1, '5e3']
|
||||
ok[500000000000, 1, '5e1_1']
|
||||
ng[ 5, 1, '5e']
|
||||
ng[ 5, 1, '5e_']
|
||||
ng[ 5, 1, '5e_1']
|
||||
ng[50, 1, '5e1_']
|
||||
|
||||
ng[0, 1, '']
|
||||
ng[0, 1, ' ']
|
||||
|
Loading…
x
Reference in New Issue
Block a user