diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-02 13:20:46 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-02 13:20:46 +0000 |
commit | 5fcc98b088e6018d17f8372ebd71e5268d3246a8 (patch) | |
tree | fa64ba3b941f7a4fe875cec6717e6d69b73d506e /bootstraptest | |
parent | 73bf186c2216ee13151c5d6e30477ddef19127e1 (diff) | |
download | ruby-5fcc98b088e6018d17f8372ebd71e5268d3246a8.tar.gz ruby-5fcc98b088e6018d17f8372ebd71e5268d3246a8.tar.xz ruby-5fcc98b088e6018d17f8372ebd71e5268d3246a8.zip |
* bootstraptest/test_proc.rb: suppress error message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_proc.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb index 820dc1f76..28a23777a 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 } |