summaryrefslogtreecommitdiff
path: root/test/test_gradle_build_classpath_command.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_gradle_build_classpath_command.vader')
-rw-r--r--test/test_gradle_build_classpath_command.vader14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/test_gradle_build_classpath_command.vader b/test/test_gradle_build_classpath_command.vader
index e274797d..9557aa0d 100644
--- a/test/test_gradle_build_classpath_command.vader
+++ b/test/test_gradle_build_classpath_command.vader
@@ -22,30 +22,30 @@ After:
call ale#linter#Reset()
Execute(Should return 'gradlew' command if project includes gradle wapper):
- 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'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project/gradlew'))
+ \ ale#path#Simplify(g:dir . '/test-files/gradle/wrapped-project'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/test-files/gradle/wrapped-project/gradlew'))
\ . g:command_tail,
\ ],
\ ale#gradle#BuildClasspathCommand(bufnr(''))
Execute(Should return 'gradle' command if project does not include gradle wapper):
- 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')
let $PATH .= (has('win32') ? ';' : ':')
- \ . ale#path#Simplify(g:dir . '/gradle-test-files')
+ \ . ale#path#Simplify(g:dir . '/test-files/gradle')
AssertEqual
\ [
- \ ale#path#Simplify(g:dir . '/gradle-test-files/unwrapped-project'),
+ \ ale#path#Simplify(g:dir . '/test-files/gradle/unwrapped-project'),
\ ale#Escape('gradle') . g:command_tail
\ ],
\ ale#gradle#BuildClasspathCommand(bufnr(''))
Execute(Should return empty string if gradle cannot be executed):
- call ale#test#SetFilename('gradle-test-files/non-gradle-project/src/main/kotlin/dummy.kt')
+ call ale#test#SetFilename('test-files/gradle/non-gradle-project/src/main/kotlin/dummy.kt')
AssertEqual
\ ['', ''],