Skip to content

Commit

Permalink
skip broken test in IRB test_context
Browse files Browse the repository at this point in the history
  • Loading branch information
eightbitraptor committed Jul 18, 2024
1 parent b970eeb commit 02554e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/irb/test_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
require 'irb'

require_relative "helper"
require_relative "../lib/omit_if_alternate_gc"

module TestIRB
class ContextTest < TestCase
include OmitIfAlternateGC

def setup
IRB.init_config(nil)
IRB.conf[:USE_SINGLELINE] = false
Expand Down Expand Up @@ -646,6 +649,8 @@ def test_prompt_main_inspect_escape
end

def test_prompt_main_truncate
omit_if_alternate_gc

main = Struct.new(:to_s).new("a" * 100)
def main.inspect; to_s.inspect; end
irb = IRB::Irb.new(IRB::WorkSpace.new(main), TestInputMethod.new)
Expand Down

0 comments on commit 02554e5

Please sign in to comment.