diff options
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 820dc1f764..28a23777a3 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 } |