[前][次][番号順一覧][スレッド一覧]

ruby-changes:22740

From: shyouhei <ko1@a...>
Date: Fri, 24 Feb 2012 17:58:41 +0900 (JST)
Subject: [ruby-changes:22740] shyouhei:r34789 (trunk): * test/ruby/test_literal.rb (TestRubyLiteral#test_special_const): test for https://bugs.php.net/bug.php?id=61095

shyouhei	2012-02-24 17:58:24 +0900 (Fri, 24 Feb 2012)

  New Revision: 34789

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34789

  Log:
    * test/ruby/test_literal.rb (TestRubyLiteral#test_special_const): test for https://bugs.php.net/bug.php?id=61095

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_literal.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34788)
+++ ChangeLog	(revision 34789)
@@ -1,3 +1,8 @@
+Fri Feb 24 17:56:39 2012  URABE Shyouhei  <shyouhei@r...>
+
+	* 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@r...>
 
 	* dir.c, file.c, io.c (rb_sys_fail_path): use rb_sys_fail_str.
Index: test/ruby/test_literal.rb
===================================================================
--- test/ruby/test_literal.rb	(revision 34788)
+++ test/ruby/test_literal.rb	(revision 34789)
@@ -27,6 +27,7 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]