mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-08 23:18:32 +00:00
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…
x
Reference in New Issue
Block a user