From 364bc3fd630721f1d2fb4670b869fb06b114a5d3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 29 May 2019 20:26:02 +0200 Subject: [PATCH] test: Fix return type This just returns a success signifier, not an error code. --- src/builtin_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_test.cpp b/src/builtin_test.cpp index 928d797d8..1e0245f8b 100644 --- a/src/builtin_test.cpp +++ b/src/builtin_test.cpp @@ -626,7 +626,7 @@ bool combining_expression::evaluate(wcstring_list_t &errors) { } errors.push_back(format_string(L"Unknown token type in %s", __func__)); - return STATUS_INVALID_ARGS; + return false; } bool parenthetical_expression::evaluate(wcstring_list_t &errors) {