mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 01:13:10 +08:00
Remove some unnecessary test output
This commit is contained in:
parent
dae2809531
commit
57cc3d950d
@ -3476,7 +3476,7 @@ void history_tests_t::test_history_speed(void)
|
||||
#endif
|
||||
|
||||
static void test_new_parser_correctness() {
|
||||
say(L"Testing new parser!");
|
||||
say(L"Testing parser correctness");
|
||||
const struct parser_test_t {
|
||||
const wchar_t *src;
|
||||
bool ok;
|
||||
@ -3506,8 +3506,6 @@ static void test_new_parser_correctness() {
|
||||
|
||||
parse_node_tree_t parse_tree;
|
||||
bool success = parse_tree_from_string(test->src, parse_flag_none, &parse_tree, NULL);
|
||||
say(L"%lu / %lu: Parse \"%ls\": %s", i + 1, sizeof parser_tests / sizeof *parser_tests,
|
||||
test->src, success ? "yes" : "no");
|
||||
if (success && !test->ok) {
|
||||
err(L"\"%ls\" should NOT have parsed, but did", test->src);
|
||||
} else if (!success && test->ok) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user