From: Arran Cudbard-Bell Date: Sat, 3 Sep 2022 16:04:58 +0000 (-0400) Subject: Fix output format so jump to line works with vscode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db3b57e240889c23a713d30d62b93c82cccbf5ff;p=thirdparty%2Ffreeradius-server.git Fix output format so jump to line works with vscode --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 94e28a49aee..c210e52396c 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -337,7 +337,7 @@ static void mismatch_print(command_file_ctx_t *cc, char const *command, char *g, *e; char *spaces; - ERROR("%s failed at line %d of %s/%s", command, cc->lineno, cc->path, cc->filename); + ERROR("%s failed %s/%s:%d", command, cc->path, cc->filename, cc->lineno); ERROR(" got : %.*s", (int) got_len, got); ERROR(" expected : %.*s", (int) expected_len, expected);