[前][次][番号順一覧][スレッド一覧][生データ]

yarv-diff:150

From: ko1 atdot.net
Date: 12 Dec 2005 15:34:17 -0000
Subject: [yarv-diff:150] r309 - trunk/yarvtest

Author: aamine
Date: 2005-12-13 00:34:17 +0900 (Tue, 13 Dec 2005)
New Revision: 309

Modified:
   trunk/yarvtest/test_bin.rb
Log:
* yarvtest/test_bin.rb (test_literal): add more numeric literals.


Modified: trunk/yarvtest/test_bin.rb
===================================================================
--- trunk/yarvtest/test_bin.rb	2005-12-12 15:33:47 UTC (rev 308)
+++ trunk/yarvtest/test_bin.rb	2005-12-12 15:34:17 UTC (rev 309)
@@ -10,6 +10,10 @@
     ae %q(1234)
     ae %q(:sym)
     ae %q(123456789012345678901234567890)
+    ae %q(1.234)
+    ae %q(0x12)
+    ae %q(0b0101001)
+    ae %q(1_2_3)   # 123
   end
 
   def test_self


-- 
ML: yarv-diff quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]