diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_literal_suffix.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstraptest/test_literal_suffix.rb b/bootstraptest/test_literal_suffix.rb index 5f86904128..4316c9e040 100644 --- a/bootstraptest/test_literal_suffix.rb +++ b/bootstraptest/test_literal_suffix.rb @@ -43,6 +43,8 @@ assert_equal '0+10.0i', '1e1i' assert_equal 'Complex', '1e1i.class' assert_equal '1', '1if true' assert_equal '1', '1rescue nil' +assert_equal '10000000000000000001/10000000000000000000', + '1.0000000000000000001r' assert_equal 'syntax error, unexpected tIDENTIFIER, expecting end-of-input', %q{begin eval('1ir', nil, '', 0); rescue SyntaxError => e; e.message[/\A:(?:\d+:)? (.*)/, 1] end} |