Project

General

Profile

Feature #6626 » 0003-test-readline-test_readline.rb-use-delete_text.patch

nobu (Nobuyoshi Nakada), 06/22/2012 03:20 PM

View differences:

test/readline/test_readline.rb
assert_equal("hello", line, bug6601)
ensure
wo.close
with_pipe {|r, w| w.write("\C-a\C-k\n")} # clear line_buffer
Readline.delete_text
Readline::HISTORY.clear
end if !/EditLine/n.match(Readline::VERSION)
......
end
end
ensure
with_pipe {|r, w| w.write("\C-a\C-k\n")} # clear line_buffer
Readline.delete_text
Readline::HISTORY.clear
end if !/EditLine/n.match(Readline::VERSION)
(3-3/3)