summaryrefslogtreecommitdiff
path: root/test/test_swift_find_project_root.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/test_swift_find_project_root.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/test_swift_find_project_root.vader')
-rw-r--r--test/test_swift_find_project_root.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_swift_find_project_root.vader b/test/test_swift_find_project_root.vader
index 7cb1cc29..88a26021 100644
--- a/test/test_swift_find_project_root.vader
+++ b/test/test_swift_find_project_root.vader
@@ -5,13 +5,13 @@ After:
call ale#test#RestoreDirectory()
Execute(Detect root of Swift project with Package.swift correctly):
- 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')
AssertEqual
- \ ale#path#Simplify(g:dir . '/swift-test-files/swift-package-project'),
+ \ ale#path#Simplify(g:dir . '/test-files/swift/swift-package-project'),
\ ale#swift#FindProjectRoot(bufnr(''))
Execute(Detect no root in case of non-Package.swift project):
- 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')
AssertEqual
\ '',
\ ale#swift#FindProjectRoot(bufnr(''))