1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 05:50:54 +01:00

Add a bunch of additional test cases for ArcanistTextLinter

Summary: Self-explanatory, improve test coverage.

Test Plan: Wrote and executed unit tests.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10474
This commit is contained in:
Joshua Spence 2014-09-11 23:43:38 +10:00
parent 75ad848b9d
commit f4fd7ad612
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,3 @@
❤♎☀★☂♞
~~~~~~~~~~
error:1:1

View file

@ -0,0 +1,6 @@
The quick brown fox jumps over the lazy dog.
~~~~~~~~~~
warning:1:1
~~~~~~~~~~
~~~~~~~~~~
{"config": {"text.max-line-length": 40}}

View file

@ -0,0 +1,8 @@
The quick brown fox
jumps over the lazy dog.
~~~~~~~~~~
autofix:1:20
autofix:2:25
~~~~~~~~~~
The quick brown fox
jumps over the lazy dog.