diff --git a/tests/patterns/source/main.cpp b/tests/patterns/source/main.cpp index 900fb8a..ade89dd 100644 --- a/tests/patterns/source/main.cpp +++ b/tests/patterns/source/main.cpp @@ -83,5 +83,11 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } - return hasDescription ? EXIT_SUCCESS : EXIT_FAILURE; + if (!hasDescription) { + fmt::print("No description pragma found in pattern file\n"); + fmt::print("Please add a #pragma description tag to the pattern!\n"); + return EXIT_FAILURE; + } + + return EXIT_SUCCESS; }