Fix test cases
This commit is contained in:
parent
7dde8dbbd9
commit
5dc4df9570
@ -614,6 +614,8 @@ module CompletionTest
|
|||||||
tmux.send_keys 'C-L'
|
tmux.send_keys 'C-L'
|
||||||
lines[-1].end_with?('no~such~user')
|
lines[-1].end_with?('no~such~user')
|
||||||
end
|
end
|
||||||
|
ensure
|
||||||
|
File.unlink 'no~such~user'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_dir_completion
|
def test_dir_completion
|
||||||
@ -659,6 +661,7 @@ module CompletionTest
|
|||||||
tmux.send_keys 'C-L'
|
tmux.send_keys 'C-L'
|
||||||
lines[-1] == "kill #{pid}"
|
lines[-1] == "kill #{pid}"
|
||||||
end
|
end
|
||||||
|
tmux.send_keys :Enter
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user