summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 13:20:46 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 13:20:46 +0000
commitf35f46a9f193ea0a5d7da69291818c8520366515 (patch)
treefa64ba3b941f7a4fe875cec6717e6d69b73d506e /bootstraptest
parentd8d5cda2d48fd076d5eeba0e1cc4dc8d581ff4c9 (diff)
* bootstraptest/test_proc.rb: suppress error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_proc.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb
index 820dc1f7641..28a23777a3b 100644
--- a/bootstraptest/test_proc.rb
+++ b/bootstraptest/test_proc.rb
@@ -420,6 +420,9 @@ assert_equal 'foo!', %q{
}, 'Subclass of Proc'
assert_equal 'ok', %q{
+ o = Object.new
+ def o.write(s); end
+ $stderr = o
at_exit{
print $!.message
}