Fix test cases

This commit is contained in:
Junegunn Choi 2015-05-10 05:01:52 +09:00
parent 7dde8dbbd9
commit 5dc4df9570

View File

@ -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