From e7a480991513aeb23d9fda2a9eb7cf95036050e4 Mon Sep 17 00:00:00 2001 From: Ashton Meuser Date: Thu, 14 Sep 2023 08:06:49 -0700 Subject: [PATCH] Loosen test error log pattern --- examples/wasm-test/utils/TestSuite.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wasm-test/utils/TestSuite.gd b/examples/wasm-test/utils/TestSuite.gd index 304cec4..d784351 100644 --- a/examples/wasm-test/utils/TestSuite.gd +++ b/examples/wasm-test/utils/TestSuite.gd @@ -35,7 +35,7 @@ func expect_empty(): expect_log("") func expect_error(s: String): - expect_log("(USER )?ERROR: " + s) + expect_log("((USER )?ERROR: )?" + s) # Account for error stack trace var regex = Utils.make_regex("^\\s+at:\\s") var position = _log_file.get_position()