mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
This commit is contained in:
parent
07c1fa20ea
commit
f1f8d377a9
6 changed files with 11 additions and 30 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue