diff options
Diffstat (limited to 'test/command_callback/test_swift_swiftformat_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_swift_swiftformat_command_callbacks.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_swift_swiftformat_command_callbacks.vader b/test/command_callback/test_swift_swiftformat_command_callbacks.vader index 7be20bf7..9f6ee62e 100644 --- a/test/command_callback/test_swift_swiftformat_command_callbacks.vader +++ b/test/command_callback/test_swift_swiftformat_command_callbacks.vader @@ -5,19 +5,19 @@ After: call ale#assert#TearDownLinterTest() Execute(Should use default command when not in a swift package): - call ale#test#SetFilename('../swift-test-files/non-swift-package-project/src/folder/dummy.swift') + call ale#test#SetFilename('../test-files/swift/non-swift-package-project/src/folder/dummy.swift') AssertLinter 'swift-format', \ ale#Escape('swift-format') . ' --mode lint %t' Execute(Should use swift run when in a swift package): - call ale#test#SetFilename('../swift-test-files/swift-package-project/src/folder/dummy.swift') + call ale#test#SetFilename('../test-files/swift/swift-package-project/src/folder/dummy.swift') AssertLinter 'swift', \ ale#Escape('swift') . ' run swift-format --mode lint %t' Execute(Should let users configure a global executable and override local paths): - call ale#test#SetFilename('../swift-test-files/swift-package-project/src/folder/dummy.swift') + call ale#test#SetFilename('../test-files/swift/swift-package-project/src/folder/dummy.swift') let g:ale_swift_swiftformat_executable = '/path/to/custom/swift-format' |