summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-12-08 13:09:22 +0000
committerGitHub <noreply@github.com>2017-12-08 13:09:22 +0000
commitfcfd1025cc8fa6fca6771871820267d65fe9bf45 (patch)
tree0449c2c2392c64c911c3317385e9fbc155534a34 /test
parent2d3d6d3a10bc4ff16624466cdc4189f22a5ac5f0 (diff)
parent92f20b0e516526294fb933bd5640a1f5f1c0671a (diff)
downloadale-fcfd1025cc8fa6fca6771871820267d65fe9bf45.zip
Merge pull request #1198 from Carpetsmoker/goimports
goimports fixer doesn't work for vendored libraries
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_goimports_fixer_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixers/test_goimports_fixer_callback.vader b/test/fixers/test_goimports_fixer_callback.vader
index 1d2763ce..cec06354 100644
--- a/test/fixers/test_goimports_fixer_callback.vader
+++ b/test/fixers/test_goimports_fixer_callback.vader
@@ -25,7 +25,7 @@ Execute(The goimports callback should the command when the executable test passe
AssertEqual
\ {
\ 'read_temporary_file': 1,
- \ 'command': ale#Escape(g:ale_go_goimports_executable) . ' -l -w %t'
+ \ 'command': ale#Escape(g:ale_go_goimports_executable) . ' -l -w -srcdir %s %t'
\ },
\ ale#fixers#goimports#Fix(bufnr(''))
@@ -36,6 +36,6 @@ Execute(The goimports callback should include extra options):
AssertEqual
\ {
\ 'read_temporary_file': 1,
- \ 'command': ale#Escape(g:ale_go_goimports_executable) . ' -l -w --xxx %t'
+ \ 'command': ale#Escape(g:ale_go_goimports_executable) . ' -l -w -srcdir %s --xxx %t'
\ },
\ ale#fixers#goimports#Fix(bufnr(''))