From f267df31b2d0bf7227dcb44dd96d7a243f6d37b0 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Wed, 18 Dec 2024 18:46:53 +0000 Subject: [PATCH] debug --- Gemfile | 2 ++ test/irb/test_context.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 3c2efa44d..36036a68e 100644 --- a/Gemfile +++ b/Gemfile @@ -19,6 +19,8 @@ gem "test-unit-ruby-core" gem "rubocop" +gem "pp" + gem "tracer" if !is_truffleruby gem "debug", github: "ruby/debug", platforms: [:mri, :mswin] diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index b02d8dbe0..0a819cc07 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -158,6 +158,7 @@ def test_object_inspection_handles_basic_object irb.eval_input end assert_empty err + puts PP::VERSION assert_not_match(/NoMethodError/, out) assert_match(/#/, out) ensure