summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_go.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index aa49a36d..8c31c91e 100644
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -614,6 +614,8 @@ module CompletionTest
tmux.send_keys 'C-L'
lines[-1].end_with?('no~such~user')
end
+ ensure
+ File.unlink 'no~such~user'
end
def test_dir_completion
@@ -659,6 +661,7 @@ module CompletionTest
tmux.send_keys 'C-L'
lines[-1] == "kill #{pid}"
end
+ tmux.send_keys :Enter
end
end