Removed unneeded `SetDirectory` call in proto handler test.

The test already handled arbitrary paths reasonably well, but setting
the directory interfered via leakage with others tests for some reason.

This patch removes the call to `SetDirectory` in the fixture setup and
the subsequent cleanup in the teardown as they are not required.
This commit is contained in:
Benjamin Bannier 2018-01-07 17:53:01 +01:00
parent b6d1c41925
commit eecbacb742
1 changed files with 0 additions and 2 deletions

View File

@ -1,11 +1,9 @@
Before:
call ale#test#SetDirectory('/testplugin/test/command_callback')
call ale#test#SetFilename('test.proto')
After:
Restore
call ale#test#RestoreDirectory()
call ale#linter#Reset()
Execute(The default command should be correct):