diff options
Diffstat (limited to 'test/command_callback/test_gometalinter_command_callback.vader')
-rw-r--r-- | test/command_callback/test_gometalinter_command_callback.vader | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/command_callback/test_gometalinter_command_callback.vader b/test/command_callback/test_gometalinter_command_callback.vader index dcaf03b0..24c85aba 100644 --- a/test/command_callback/test_gometalinter_command_callback.vader +++ b/test/command_callback/test_gometalinter_command_callback.vader @@ -7,17 +7,13 @@ Before: runtime ale_linters/go/gometalinter.vim - silent! cd /testplugin/test/command_callback - let g:dir = getcwd() - + call ale#test#SetDirectory('/testplugin/test/command_callback') call ale#test#SetFilename('test.go') After: Restore - silent execute 'cd ' . fnameescape(g:dir) - unlet! g:dir - + call ale#test#RestoreDirectory() call ale#linter#Reset() Execute(The gometalinter callback should return the right defaults): |