From 311f47d6837dc7cc9ac736f950ce83242291dd1f Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 17 Dec 2019 18:25:23 -0800 Subject: [PATCH] Remove an errant fprintf from the tests --- src/fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 61f84b61e..b78898bfc 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -1033,7 +1033,6 @@ static void test_1_cancellation(const wchar_t *src) { pthread_kill(thread, SIGINT); }); eval_result_t ret = parser_t::principal_parser().eval(src, io_chain_t{filler}, TOP); - fprintf(stderr, "eval: %d\n", (int)ret); auto buffer = io_bufferfill_t::finish(std::move(filler)); if (buffer->buffer().size() != 0) { err(L"Expected 0 bytes in out_buff, but instead found %lu bytes, for command %ls\n", @@ -1042,6 +1041,7 @@ static void test_1_cancellation(const wchar_t *src) { // TODO: cancelling out of command substitutions is currently reported as an error, not a // cancellation. // do_test(ret == eval_result_t::cancelled); + (void)ret; iothread_drain_all(); }