aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/tools/fuzzer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tools/fuzzer.cpp b/test/tools/fuzzer.cpp
index 71f38b67..a5a63854 100644
--- a/test/tools/fuzzer.cpp
+++ b/test/tools/fuzzer.cpp
@@ -135,6 +135,10 @@ void testCompiler(bool optimize)
for (Json::Value const& error: outputJson["errors"])
{
string invalid = contains(error.asString(), vector<string>{
+ // StandardJSON error types
+ "Exception",
+ "InternalCompilerError",
+ // Old-school error messages
"Internal compiler error",
"Exception during compilation",
"Unknown exception during compilation",