Project

General

Profile

Actions

Bug #1306

closed

exception when exiting from IRB if test/unit is loaded

Added by dmitryelastic (d .) about 15 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
1.8.6 , 1.8.7
[ruby-core:22986]

Description

=begin
tested on versions 1.8.6 and 1.8.7
steps to reproduce:

  1. load irb
  2. require 'test/unit'
  3. type "exit" or hit ^D
  4. 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
Actions #1

Updated by dmitryelastic (d .) about 15 years ago

=begin
thanks for applying this patch
=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r23032.
=end

Actions #3

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Closed to Open
  • Assignee set to shyouhei (Shyouhei Urabe)

=begin

=end

Actions #4

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r23954.
=end

Actions #5

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Closed to Open
  • Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)

=begin

=end

Actions #6

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

  • Status changed from Open to Assigned

=begin

=end

Actions #7

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport186 to Ruby master
  • 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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0