summaryrefslogtreecommitdiff
path: root/test/command_callback/test_proto_command_callback.vader
diff options
context:
space:
mode:
authorBenjamin Bannier <bbannier@gmail.com>2018-01-07 17:53:01 +0100
committerBenjamin Bannier <bbannier@gmail.com>2018-01-07 17:54:21 +0100
commiteecbacb742f0e884e2f47f0aee57caf9cb2dd683 (patch)
tree55188f551bb36aa716b14fe0ff77c55a0f284c0a /test/command_callback/test_proto_command_callback.vader
parentb6d1c419255d335a1e87a5eb32fd910081fa16ac (diff)
downloadale-eecbacb742f0e884e2f47f0aee57caf9cb2dd683.zip
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.
Diffstat (limited to 'test/command_callback/test_proto_command_callback.vader')
-rw-r--r--test/command_callback/test_proto_command_callback.vader2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/command_callback/test_proto_command_callback.vader b/test/command_callback/test_proto_command_callback.vader
index 2fd7775e..79c1cf80 100644
--- a/test/command_callback/test_proto_command_callback.vader
+++ b/test/command_callback/test_proto_command_callback.vader
@@ -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):