diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 06:54:09 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-06 06:54:09 +0200 |
commit | 4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5 (patch) | |
tree | 41dbe7bfcc8a13cf72e4bfee337b0fb75dbb2f3b /testing/xpcshell | |
parent | 7d56f431ccc11f3b5e2e6deec331bd9c7a06cf80 (diff) | |
download | UXP-4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5.tar UXP-4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5.tar.gz UXP-4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5.tar.lz UXP-4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5.tar.xz UXP-4c4f8091e620a35d6d20a5b0ccc6c118e9b8e5e5.zip |
Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
Diffstat (limited to 'testing/xpcshell')
-rwxr-xr-x | testing/xpcshell/selftest.py | 2 |
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) |