Page MenuHomePhabricator

D10474.id25187.diff
No OneTemporary

D10474.id25187.diff

diff --git a/src/lint/linter/__tests__/text/bad-charset.lint-test b/src/lint/linter/__tests__/text/bad-charset.lint-test
new file mode 100644
--- /dev/null
+++ b/src/lint/linter/__tests__/text/bad-charset.lint-test
@@ -0,0 +1,3 @@
+❤♎☀★☂♞
+~~~~~~~~~~
+error:1:1
diff --git a/src/lint/linter/__tests__/text/line-wrap.lint-test b/src/lint/linter/__tests__/text/line-wrap.lint-test
new file mode 100644
--- /dev/null
+++ b/src/lint/linter/__tests__/text/line-wrap.lint-test
@@ -0,0 +1,6 @@
+The quick brown fox jumps over the lazy dog.
+~~~~~~~~~~
+warning:1:1
+~~~~~~~~~~
+~~~~~~~~~~
+{"config": {"text.max-line-length": 40}}
diff --git a/src/lint/linter/__tests__/text/trailing-whitespace.lint-test b/src/lint/linter/__tests__/text/trailing-whitespace.lint-test
new file mode 100644
--- /dev/null
+++ b/src/lint/linter/__tests__/text/trailing-whitespace.lint-test
@@ -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.

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 16, 12:04 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717358
Default Alt Text
D10474.id25187.diff (1 KB)

Event Timeline