]> khamidou — GitHub mirrors - arcanist.git/commit
Make arcanist lint tests flexible about testcase formatting
authorepriestley <git@epriestley.com>
Wed, 13 Aug 2014 02:32:15 +0000 (19:32 -0700)
committerepriestley <git@epriestley.com>
Wed, 13 Aug 2014 02:32:15 +0000 (19:32 -0700)
commite9c80de73cf0257a6f4675e090c3ad2e4991a078
tree9280bb75a7c97d528ec07f5f5c0bb8837da9b08d
parent54bea946c120fe9a2c0be834b2299bcb97c8584b
Make arcanist lint tests flexible about testcase formatting

Summary:
We currently require an exact number of "~" characters, but this is needless and error-prone.

Instead, allow any number larger than 3.

Test Plan:
  - Added meta test-case.
  - Ran `arc unit --everything`.

Reviewers: btrahan, thoughtpolice

Reviewed By: thoughtpolice

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D10251
src/lint/linter/__tests__/ArcanistLinterTestCase.php
src/lint/linter/__tests__/text/variable-dividers.lint-test [new file with mode: 0644]