summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorSander van Harmelen <sander@xanzy.io>2019-03-07 13:39:36 +0100
committerSander van Harmelen <sander@xanzy.io>2019-03-12 09:32:39 +0100
commitb0fac4706057f5db396695e0ea62674b43ecb749 (patch)
tree762b686dee5ba610cfb312c7093189b0357ae6fa /test/command_callback
parent5505f2323dd7360dec7993542d20ef41c0178852 (diff)
downloadale-b0fac4706057f5db396695e0ea62674b43ecb749.zip
make `gotype` return all errors
When using `gotype` without the `-e` option, it will only output the first 10 errors. When working on a larger package that ofter means taht those 10 errors are in other files then the one that you are currently working on which then seems to indicate that there are no errors. By adding the `-e` flag, all errors will be returned and shown properly in the file that you are working on.
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_gotype_command_callback.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_callback/test_gotype_command_callback.vader b/test/command_callback/test_gotype_command_callback.vader
index 1898a0cb..113f4823 100644
--- a/test/command_callback/test_gotype_command_callback.vader
+++ b/test/command_callback/test_gotype_command_callback.vader
@@ -7,7 +7,7 @@ After:
Execute(The default gotype command should be correct):
AssertLinter 'gotype',
- \ ale#path#CdString(expand('%:p:h')) . ' gotype .'
+ \ ale#path#CdString(expand('%:p:h')) . ' gotype -e .'
Execute(The gotype callback should ignore test files):
call ale#test#SetFilename('bla_test.go')