summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJasper Woudenberg <mail@jasperwoudenberg.com>2017-03-02 18:40:07 -0800
committerJasper Woudenberg <mail@jasperwoudenberg.com>2017-03-02 18:40:07 -0800
commitf5ddc51d8588844e7c21b0a8882114b0597ca502 (patch)
tree8ea16a1b14d235ab501ee8013ef4f0a1d98e068f /test
parent70711022db8c8a5602550601ef275c20b2105bcc (diff)
downloadale-f5ddc51d8588844e7c21b0a8882114b0597ca502.zip
Address some feedback
Diffstat (limited to 'test')
-rw-r--r--test/test_cursor_warnings.vader17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/test_cursor_warnings.vader b/test/test_cursor_warnings.vader
index dbf5360f..136e6abc 100644
--- a/test/test_cursor_warnings.vader
+++ b/test/test_cursor_warnings.vader
@@ -95,4 +95,19 @@ Then(Check the cursor output):
:mess
redir END
- AssertEqual "Every statement should end with a semicolon", g:output[-1]
+ let g:lines = split(g:output, "\n")
+
+ AssertEqual "Every statement should end with a semicolon", g:lines[-1]
+
+Execute(Evaluate the cursor detail function at line 2):
+ :2
+ call ale#cursor#ShowCursorDetail()
+
+Then(Check the cursor output):
+ redir => g:output
+ :mess
+ redir END
+
+ let g:lines = split(g:output, "\n")
+
+ AssertEqual "Infix operators must be spaced. (space-infix-ops)", g:lines[-1]