Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13971461
D10474.id25187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10474.id25187.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 18, 1:31 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717358
Default Alt Text
D10474.id25187.diff (1 KB)
Attached To
Mode
D10474: Add a bunch of additional test cases for `ArcanistTextLinter`
Attached
Detach File
Event Timeline
Log In to Comment