Page MenuHomePhabricator

D10474.diff
No OneTemporary

D10474.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
Sat, Oct 26, 2:31 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722329
Default Alt Text
D10474.diff (1 KB)

Event Timeline