aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-24 08:58:24 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-24 08:58:24 +0000
commit79bd9c3e4da4418b8282fe1cd2a9709aa318ce94 (patch)
tree8a8428917c50c2588be78207576990c6555888ae
parentadcb7e9e7b142427c97251fdb6340433f65fe811 (diff)
downloadruby-79bd9c3e4da4418b8282fe1cd2a9709aa318ce94.tar.gz
* test/ruby/test_literal.rb (TestRubyLiteral#test_special_const): test for https://bugs.php.net/bug.php?id=61095
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/test_literal.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 96cda8313b..a149c39daa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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