mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 22:14:44 +08:00
Make every test set filenames and switch directories in the same way, and fix some missing escaping for the rubocop linter
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
Before:
|
||||
silent! cd /testplugin/test/handler
|
||||
let g:dir = getcwd()
|
||||
call ale#test#SetDirectory('/testplugin/test/handler')
|
||||
|
||||
After:
|
||||
silent execute 'cd ' . fnameescape(g:dir)
|
||||
unlet! g:dir
|
||||
call ale#test#RestoreDirectory()
|
||||
|
||||
Execute(Basic errors should be handled by cppcheck):
|
||||
call ale#test#SetFilename('test.cpp')
|
||||
|
||||
Reference in New Issue
Block a user