1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Fix ArcanistJSHintLinterTestCase::testLinter for recent JSHint

Summary:
Recent JSHint improves the warning and attributes it to the equals sign
rather than the end of the expression (changed in 897e0359ce19, first
released in 2.11.0-rc1).

Test Plan: Ran arc unit with JSHint 2.12.0

Reviewers: epriestley, joshuaspence, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D21503
This commit is contained in:
Jessica Clarke 2021-01-11 04:51:20 +00:00 committed by jrtc27
parent f64eb04300
commit 09cff8611b

View file

@ -3,4 +3,4 @@ if (foo = 'bar') {
return true; return true;
} }
~~~~~~~~~~ ~~~~~~~~~~
warning:2:16:W084 warning:2:9:W084