mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 15:23:48 -05:00
[test] Make sure to kill background process
This commit is contained in:
@@ -661,7 +661,8 @@ module CompletionTest
|
||||
tmux.send_keys 'C-L'
|
||||
lines[-1] == "kill #{pid}"
|
||||
end
|
||||
tmux.send_keys :Enter
|
||||
ensure
|
||||
Process.kill 'KILL', pid.to_i rescue nil if pid
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user