Page MenuHomePhabricator

Exclude some test data from being linted.
ClosedPublic

Authored by joshuaspence on Jun 9 2014, 7:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 6:20 AM
Unknown Object (File)
Tue, Jan 14, 10:20 PM
Unknown Object (File)
Tue, Jan 14, 11:29 AM
Unknown Object (File)
Tue, Jan 14, 10:24 AM
Unknown Object (File)
Sat, Jan 4, 4:35 PM
Unknown Object (File)
Mon, Dec 30, 12:32 AM
Unknown Object (File)
Dec 19 2024, 1:04 AM
Unknown Object (File)
Dec 15 2024, 4:47 AM
Subscribers

Details

Summary

Currently, arc lint --apply-patches will patch some files which contain test data, consequently causing unit tests to file. We should either modify the tests so that they can pass linting and unit tests successfully (if possible), or just exclude them from being linted.

Test Plan

Ran arc lint --apply-patches and ensured that these files were not patched.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Exclude some test data from being linted..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
src/parser/xhpast/__tests__/data/php-array-dereference.expect
637

I figured it was easy enough to fix this file rather than disable linting.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 9 2014, 7:09 PM
epriestley updated this revision to Diff 22533.

Closed by commit rPHU4ffb05ae9c0c (authored by @joshuaspence, committed by @epriestley).