]> khamidou — GitHub mirrors - arcanist.git/commit
Remove two problematic XML linter unit tests
authorepriestley <git@epriestley.com>
Tue, 25 Aug 2015 04:07:28 +0000 (21:07 -0700)
committerepriestley <git@epriestley.com>
Tue, 25 Aug 2015 04:07:28 +0000 (21:07 -0700)
commit1d3266395f705e742ad5c966280de53e2e7b05d5
treec18c6dee3b3721be093e550a949f4d8b635beb29
parent46009145f75d2bf6827353d7f1a424fddfde1415
Remove two problematic XML linter unit tests

Summary:
Fixes T7215. See D13991. These test cases have been failing intermittently for a while.

I think the XML stuff (which we don't control) changed where it raises these warnings: an old version raised them at the end of the attribute, while the new version raises them at the beginning of the attribute. Not totally 100% sure about this since installing multiple versions is fairly inconvenient, but as far as I know both versions raise the warnings, just at different character offsets.

We could do various things to fix these tests (allow the warning to raise at any character, skip the tests based on versions, etc) but I think it's easier to just remove the tests. They don't seem valuable.

Test Plan: Tests failed prior to change; now pass.

Reviewers: chad, joshuaspence

Reviewed By: joshuaspence

Maniphest Tasks: T7215

Differential Revision: https://secure.phabricator.com/D13992
src/lint/linter/__tests__/xml/attr3.lint-test [deleted file]
src/lint/linter/__tests__/xml/attr4.lint-test [deleted file]