diff options
author | 2014-04-27 18:44:21 -0700 | |
---|---|---|
committer | 2014-04-27 18:44:21 -0700 | |
commit | 97c2ec8dcfe14882bafb2f2c56502427c0ffa1d0 (patch) | |
tree | 350d646b1cfc0db862eef4f27938aeffd2ab04c9 /fish_tests.cpp | |
parent | 4948508277e424264a1b6232a6c275dd03fd584d (diff) |
Fix a duplicated variable, and defeat some warnings in fish_tests
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 7ec4ab8b..6e293514 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -2012,8 +2012,8 @@ static void test_autosuggest_suggest_special() // A single quote should defeat tilde expansion perform_one_autosuggestion_test(L"cd '~/test_autosuggest_suggest_specia'", wd, L"", __LINE__); - system("rm -Rf '/tmp/autosuggest_test/'"); - system("rm -Rf ~/test_autosuggest_suggest_special/"); + if (system("rm -Rf '/tmp/autosuggest_test/'")) err(L"rm failed"); + if (system("rm -Rf ~/test_autosuggest_suggest_special/")) err(L"rm failed"); } static void test_autosuggestion_combining() |