From 02554e56bf5f123f7fdeb186b770ce1818046250 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Thu, 18 Jul 2024 13:48:51 +0100 Subject: [PATCH] skip broken test in IRB test_context --- test/irb/test_context.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index cd3f2c8f620a72..169ce887d66de6 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -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 @@ -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)