aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-07 12:55:13 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-07 12:55:13 -0700
commit1a264ab7c20cbd0e20eef3e3d83fedb7b69c163d (patch)
treea31c3d95477c76ac190bf15d8346d4db5ae64224 /fish_tests.cpp
parent99b51ce6eadcc93027c6edf9a0def836ac050870 (diff)
Made tests compile again
Renamed autosuggest_handle_special to autosuggest_special_validate_from_history Began work to factor autosuggest_special_validate_from_history together with autosuggest_suggest_special
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 242f0cc8..57021f4b 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -397,7 +397,7 @@ static void test_parser()
{
say( L"Testing parser" );
- parser_t parser(PARSER_TYPE_GENERAL);
+ parser_t parser(PARSER_TYPE_GENERAL, true);
say( L"Testing null input to parser" );
if( !parser.test( 0, 0, 0, 0 ) )
@@ -582,7 +582,7 @@ static void test_path()
/** Test the 'test' builtin */
int builtin_test( parser_t &parser, wchar_t **argv );
static bool run_test_test(int expected, wcstring_list_t &lst) {
- parser_t parser(PARSER_TYPE_GENERAL);
+ parser_t parser(PARSER_TYPE_GENERAL, true);
size_t i, count = lst.size();
wchar_t **argv = new wchar_t *[count+2];
argv[0] = (wchar_t *)L"test";
@@ -678,7 +678,7 @@ static void test_colors()
/* Testing autosuggestion */
static void test_autosuggest() {
- bool autosuggest_handle_special(const wcstring &str, const wcstring &working_directory, bool *outSuggestionOK);
+ bool autosuggest_special_validate_from_history(const wcstring &str, const wcstring &working_directory, bool *outSuggestionOK);
}