diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/ruby/test_literal.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Feb 24 17:56:39 2012 URABE Shyouhei <shyouhei@ruby-lang.org> + + * test/ruby/test_literal.rb (TestRubyLiteral#test_special_const): + test for https://bugs.php.net/bug.php?id=61095 + Fri Feb 24 16:48:29 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * dir.c, file.c, io.c (rb_sys_fail_path): use rb_sys_fail_str. diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index 85490d659b..bb3f50d2e5 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -27,6 +27,7 @@ class TestRubyLiteral < Test::Unit::TestCase assert_equal '123456789012345678901234567890', 123456789012345678901234567890.inspect assert_instance_of Bignum, 123456789012345678901234567890 assert_instance_of Float, 1.3 + assert_equal '2', eval("0x00+2").inspect end def test_self |
