From eecbacb742f0e884e2f47f0aee57caf9cb2dd683 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Sun, 7 Jan 2018 17:53:01 +0100 Subject: [PATCH] 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. --- test/command_callback/test_proto_command_callback.vader | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/command_callback/test_proto_command_callback.vader b/test/command_callback/test_proto_command_callback.vader index 2fd7775..79c1cf8 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):