Commit 88aa6c60 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Added additional diagnostic for resource matches

parent 6cf45fd1
Pipeline #285 failed with stage
in 11 seconds
......@@ -114,6 +114,8 @@ static inline resourcematch_result_t run_test_base(const struct test *test, reso
snprintf(name, sizeof(name), "pattern \"%s\" and string \"%s\" %s extract", test->pattern, test->string, extract ? "with" : "without");
ctest_test(name, test->expected_result == ret && ok);
ctest_diagnostic_printf("Expected: %s, Got: %s, Ok: %i", res2str(test->expected_result), res2str(ret), ok);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment