summaryrefslogtreecommitdiff
path: root/bootstraptest/test_method.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-01 07:18:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-01 07:18:26 +0000
commitadcd9f7ea160d60a9433f012707f1fd62c6eb97e (patch)
tree93913717d5037b3aef4c0bbf529a7d7f2d20db4e /bootstraptest/test_method.rb
parent36585f17fb8deb2042c36842c68637b740565811 (diff)
* bootstraptest/test_method.rb: use assert_normal_exit to test
[ruby-dev:31818]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_method.rb')
-rw-r--r--bootstraptest/test_method.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index 81d9004..7b379b0 100644
--- a/bootstraptest/test_method.rb
+++ b/bootstraptest/test_method.rb
@@ -975,11 +975,10 @@ assert_equal 'ok', %q{
end
}, '[ruby-dev:31816], [ruby-dev:31817]'
-assert_equal 'ok', %q{
+assert_normal_exit %q{
Process.setrlimit(Process::RLIMIT_STACK, 1024*1024)
class C
attr "a" * (2*1024*1024)
end
- :ok
}, '[ruby-dev:31818]'