aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fuzzer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp
index 85a8fe99..410313c5 100644
--- a/test/fuzzer.cpp
+++ b/test/fuzzer.cpp
@@ -67,7 +67,6 @@ int main()
for (Json::Value const& error: outputJson["errors"])
{
string invalid = contains(error.asString(), vector<string>{
- "Compiler error",
"Internal compiler error",
"Exception during compilation",
"Unknown exception during compilation",
@@ -78,7 +77,7 @@ int main()
});
if (!invalid.empty())
{
- cout << "Invalid error: \"" << invalid << "\"" << endl;
+ cout << "Invalid error: \"" << error.asString() << "\"" << endl;
abort();
}
}