Skip to content

Commit

Permalink
Loosen test error log pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtonmeuser committed Sep 14, 2023
1 parent c96da4d commit e7a4809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasm-test/utils/TestSuite.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e7a4809

Please sign in to comment.