summaryrefslogtreecommitdiff
path: root/test/test_gradle_build_classpath_command.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_gradle_build_classpath_command.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
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
\ ['', ''],