Scalar parser tests not checking that no errors happened

RESOLVED FIXED in Firefox 64

Status

()

enhancement
P1
normal
RESOLVED FIXED
7 months ago
7 months ago

People

(Reporter: janerik, Assigned: janerik)

Tracking

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

7 months ago
The python test for the scalar parser[1] is not checking that the parser did not actually fail.
It needs to call `ParserError.exit_func()` which will raise (and thus fail the test) if something failed during parsing.

Comment 2

7 months ago
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a2a823a4e707
Call exit_func to raise any errors if parsing failed r=chutten

Comment 3

7 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a2a823a4e707
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.