Feature #6626 » 0003-test-readline-test_readline.rb-use-delete_text.patch
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)
|
||
- « Previous
- 1
- 2
- 3
- Next »