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)
Wed, Nov 27, 5:57 AM
Unknown Object (File)
Tue, Nov 26, 8:17 AM
Unknown Object (File)
Tue, Nov 26, 8:17 AM
Unknown Object (File)
Tue, Nov 26, 8:17 AM
Unknown Object (File)
Tue, Nov 26, 7:58 AM
Unknown Object (File)
Tue, Nov 19, 3:47 AM
Unknown Object (File)
Mon, Nov 18, 4:22 AM
Unknown Object (File)
Fri, Nov 15, 3:08 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).