diff options
Diffstat (limited to 'test/test_gradle_find_executable.vader')
-rw-r--r-- | test/test_gradle_find_executable.vader | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_gradle_find_executable.vader b/test/test_gradle_find_executable.vader index 5daa4906..f874748c 100644 --- a/test/test_gradle_find_executable.vader +++ b/test/test_gradle_find_executable.vader @@ -15,22 +15,22 @@ After: call ale#linter#Reset() Execute(Should return 'gradlew' if found in parent directory): - call ale#test#SetFilename('gradle-test-files/wrapped-project/src/main/kotlin/dummy.kt') + call ale#test#SetFilename('test-files/gradle/wrapped-project/src/main/kotlin/dummy.kt') AssertEqual - \ ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project/gradlew'), + \ ale#path#Simplify(g:dir . '/test-files/gradle/wrapped-project/gradlew'), \ ale#gradle#FindExecutable(bufnr('')) Execute(Should return 'gradle' if 'gradlew' not found in parent directory): - call ale#test#SetFilename('gradle-test-files/unwrapped-project/src/main/kotlin/dummy.kt') - let $PATH .= (has('win32') ? ';': ':') . ale#path#Simplify(g:dir . '/gradle-test-files') + call ale#test#SetFilename('test-files/gradle/unwrapped-project/src/main/kotlin/dummy.kt') + let $PATH .= (has('win32') ? ';': ':') . ale#path#Simplify(g:dir . '/test-files/gradle') AssertEqual \ 'gradle', \ ale#gradle#FindExecutable(bufnr('')) Execute(Should return empty string if 'gradlew' not in parent directory and gradle not in path): - call ale#test#SetFilename('gradle-test-files/unwrapped-project/src/main/kotlin/dummy.kt') + call ale#test#SetFilename('test-files/gradle/unwrapped-project/src/main/kotlin/dummy.kt') AssertEqual \ '', |