Project

General

Profile

Bug #15853 ยป fix-readline-4.3-test-regression-v3.patch

jeremyevans0 (Jeremy Evans), 05/17/2019 02:58 PM

View differences:

test/readline/test_readline.rb
405 405
          line = Readline.readline("> ")
406 406
          assert_equal("hello world", line)
407 407
        end
408
        if !defined?(Reline) or Readline != Reline # Reline's rendering logic is tricky
408
        # Readline 4.3 doesn't include inserted text or input
409
        # Reline's rendering logic is tricky
410
        if Readline::VERSION != '4.3' and (!defined?(Reline) or Readline != Reline)
409 411
          assert_equal("> hello world\n", stdout.read)
410 412
        end
411 413
        stdout.close
412
-