aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-18 23:26:39 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-18 23:26:39 -0800
commitd8a99917386146f47fc178c80b1d07f9e94aa121 (patch)
treed019d7537180bb67a56605212787c32046923740 /fish_tests.cpp
parentca1c8243c8beadf1ba985c86237c894aef823b1f (diff)
Fix to avoid calling signal_block off of hte main thread
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index d39745b5..e81a7c35 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -50,6 +50,7 @@
#include "event.h"
#include "path.h"
#include "history.h"
+#include "highlight.h"
/**
The number of tests to run
@@ -552,6 +553,11 @@ static void test_colors()
assert(rgb_color_t(L"mooganta").is_none());
}
+/* Testing autosuggestion */
+static void test_autosuggest() {
+ bool autosuggest_handle_special(const wcstring &str, const wcstring &working_directory, bool *outSuggestionOK);
+}
+
/**
Test speed of completion calculations
@@ -734,6 +740,7 @@ int main( int argc, char **argv )
test_expand();
test_path();
test_colors();
+ test_autosuggest();
history_tests_t::test_history();
say( L"Encountered %d errors in low-level tests", err_count );