ruby-changes:23216
From: naruse <ko1@a...>
Date: Mon, 9 Apr 2012 08:05:32 +0900 (JST)
Subject: [ruby-changes:23216] naruse:r35266 (trunk): Add test for r35265.
naruse 2012-04-09 08:05:08 +0900 (Mon, 09 Apr 2012) New Revision: 35266 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35266 Log: Add test for r35265. Modified files: trunk/test/test_mathn.rb Index: test/test_mathn.rb =================================================================== --- test/test_mathn.rb (revision 35265) +++ test/test_mathn.rb (revision 35266) @@ -6,6 +6,7 @@ def test_power assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2;!a'], "", [], [], '[ruby-core:25740]' assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2;!a'], "", [], [], '[ruby-core:25740]' + assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**4;!a'], "", [], [], '[ruby-core:44170]' assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**5;!a'], "", [], [], '[ruby-core:44170]' end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/