mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 23:21:15 -03:00
Switch readline commands to readline_cmd_t enum class
This commit is contained in:
@@ -2999,9 +2999,8 @@ static void test_input() {
|
||||
auto evt = input_readch();
|
||||
if (!evt.is_readline()) {
|
||||
err(L"Event is not a readline");
|
||||
} else if (evt.get_readline() != R_DOWN_LINE) {
|
||||
err(L"Expected to read char R_DOWN_LINE, but instead got %ls\n",
|
||||
describe_char(evt.get_readline()).c_str());
|
||||
} else if (evt.get_readline() != readline_cmd_t::R_DOWN_LINE) {
|
||||
err(L"Expected to read char R_DOWN_LINE");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user