Closed
Bug 1435199
Opened 8 years ago
Closed 8 years ago
[compare-locales] ParserTestMixin should use instanceof instead of type equality for non-entity entries
Categories
(Localization Infrastructure and Tools :: compare-locales, enhancement)
Localization Infrastructure and Tools
compare-locales
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
Details
Attachments
(1 file)
Right now, ParserTestMixin._test tests type() against strings, which locks in the rest of the code base.
Let's be nice and use instanceof instead.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8947750 [details]
bug 1435199, use assertIsInstance instead of type name comparison,
https://reviewboard.mozilla.org/r/217460/#review223226
It looks much better this way, thanks!
Attachment #8947750 -
Flags: review?(stas) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 4•8 years ago
|
||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•