Skip to content

Commit 9933584

Browse files
authored
Change debug test workaround to use ENV RUBY_DEBUG_TEST_UI (#1014)
1 parent bb6a99d commit 9933584

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎lib/irb/input-method.rb‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ def initialize
6767
#
6868
# See IO#gets for more information.
6969
defgets
70-
putsif@stdout.tty?# workaround for debug compatibility test
70+
# Workaround for debug compatibility test https://github.com/ruby/debug/pull/1100
71+
putsifENV['RUBY_DEBUG_TEST_UI']
72+
7173
print@prompt
7274
line=@stdin.gets
7375
@line[@line_no += 1]=line

0 commit comments

Comments
 (0)