aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mathn.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 11:56:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 11:56:37 +0000
commit71ab182911602baa7facb1ffc71146ce8d376938 (patch)
tree4edfe346b28be527b8d9b7021a0d14e50c31f795 /test/test_mathn.rb
parent77088d667223ceb5b964324300d8c9a979ac8076 (diff)
downloadruby-71ab182911602baa7facb1ffc71146ce8d376938.tar.gz
* test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to
reject non-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_mathn.rb')
-rw-r--r--test/test_mathn.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_mathn.rb b/test/test_mathn.rb
index d0bf03760d..7083568525 100644
--- a/test/test_mathn.rb
+++ b/test/test_mathn.rb
@@ -4,7 +4,7 @@ require_relative 'ruby/envutil'
# mathn redefines too much. It must be isolated to child processes.
class TestMathn < Test::Unit::TestCase
def test_power
- assert_in_out_err ['-r', 'mathn', '-e', '1**2'], [], [], [], '[ruby-core:25740]'
- assert_in_out_err ['-r', 'mathn', '-e', '(1<<126)**2'], [], [], [], '[ruby-core:25740]'
+ assert_in_out_err ['-r', 'mathn', '-e', '1**2'], "", [], [], '[ruby-core:25740]'
+ assert_in_out_err ['-r', 'mathn', '-e', '(1<<126)**2'], "", [], [], '[ruby-core:25740]'
end
end