From f55ce1e6a3cb04b6211430e48da9fd1a08dd928f Mon Sep 17 00:00:00 2001 From: "Tom \"Ravi\" Hale" Date: Fri, 31 Aug 2018 17:03:30 +0700 Subject: [PATCH] test_ls_with_file_shortcuts: clean up temp files --- test/lib/git/shell_shortcuts_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lib/git/shell_shortcuts_test.sh b/test/lib/git/shell_shortcuts_test.sh index 77dd21c..7bab1d3 100755 --- a/test/lib/git/shell_shortcuts_test.sh +++ b/test/lib/git/shell_shortcuts_test.sh @@ -138,6 +138,9 @@ test_ls_with_file_shortcuts() { # Test arg with no quotes ls_output=$(ls_with_file_shortcuts a\ \"b\" | strip_colors) assertIncludes "$ls_output" '[1] c' F + + cd - + rm -r "$TEST_DIR" "$temp_file" } # load and run shUnit2