aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-27 18:27:34 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-27 18:27:34 -0700
commit4948508277e424264a1b6232a6c275dd03fd584d (patch)
tree70cb6a42b079f8c21cd136d740f5d8d2f530dbcc /fish_tests.cpp
parentfb89c762fc909a4b5a5c51f51990185b30ec6857 (diff)
Squelch some more warnings on Linux
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 382abb39..7ec4ab8b 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -1330,7 +1330,7 @@ static void test_expand()
err(L"Expansion not correctly handling literal path components in dotfiles");
}
- system("rm -Rf /tmp/fish_expand_test");
+ if (system("rm -Rf /tmp/fish_expand_test")) err(L"rm failed");
}
static void test_fuzzy_match(void)
@@ -3117,7 +3117,7 @@ static void test_highlighting(void)
// Generate the text
wcstring text;
- std::vector<int> expected_colors;
+ std::vector<highlight_spec_t> expected_colors;
for (size_t i=0; i < component_count; i++)
{
if (i > 0)