Bug #1306
closed
exception when exiting from IRB if test/unit is loaded
Added by dmitryelastic (d .) about 16 years ago.
Updated over 5 years ago.
Description
=begin
tested on versions 1.8.6 and 1.8.7
steps to reproduce:
- load irb
- require 'test/unit'
- type "exit" or hit ^D
- result: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:76:in
throw': uncaught throw
IRB_EXIT' (NameError)
patch solves the problem
=end
Files
testunit.patch (325 Bytes)
testunit.patch |
ib/test/unit.rb: explicitly calling object#exit instead of IRB.exit |
dmitryelastic (d .), 03/22/2009 05:47 AM
|
|
=begin
thanks for applying this patch
=end
- Status changed from Open to Closed
=begin
Applied in changeset r23032.
=end
- Status changed from Closed to Open
- Assignee set to shyouhei (Shyouhei Urabe)
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r23954.
=end
- Status changed from Closed to Open
- Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)
- Status changed from Open to Assigned
- Tracker changed from Backport to Bug
- Project changed from 11 to Ruby
- Description updated (diff)
- Status changed from Assigned to Closed
- ruby -v set to 1.8.6 , 1.8.7
- Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0