summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 06:54:09 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 06:54:09 +0200
commitc92e8d15d8da6bf2e61f89ac45d40f24c342aad8 (patch)
tree41dbe7bfcc8a13cf72e4bfee337b0fb75dbb2f3b /testing
parente3781050643c704451e5d662b3adca29b092d321 (diff)
downloadaura-central-c92e8d15d8da6bf2e61f89ac45d40f24c342aad8.tar.gz
Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/xpcshell/selftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xpcshell/selftest.py b/testing/xpcshell/selftest.py
index 856f505fc..071ab5eda 100755
--- a/testing/xpcshell/selftest.py
+++ b/testing/xpcshell/selftest.py
@@ -1162,7 +1162,7 @@ add_test({
self.assertTestResult(False)
self.assertInLog(TEST_FAIL_STRING)
- self.assertInLog("TypeError: generator function run_test returns a value at")
+ self.assertInLog("TypeError: generator function can't return a value at")
self.assertInLog("test_error.js:4")
self.assertNotInLog(TEST_PASS_STRING)