summaryrefslogtreecommitdiff
path: root/test/test_maven_find_executable.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_maven_find_executable.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/test_maven_find_executable.vader')
-rw-r--r--test/test_maven_find_executable.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_maven_find_executable.vader b/test/test_maven_find_executable.vader
index 1d2f6da2..f0f06b12 100644
--- a/test/test_maven_find_executable.vader
+++ b/test/test_maven_find_executable.vader
@@ -23,16 +23,16 @@ After:
call ale#linter#Reset()
Execute(Should return 'mvnw' if found in parent directory):
- call ale#test#SetFilename('maven-test-files/maven-java-project/module1/src/main/java/dummy1.java')
+ call ale#test#SetFilename('test-files/maven/maven-java-project/module1/src/main/java/dummy1.java')
AssertEqual
- \ ale#path#Simplify(g:dir . '/maven-test-files/maven-java-project/module1/' . g:expected_wrapper),
+ \ ale#path#Simplify(g:dir . '/test-files/maven/maven-java-project/module1/' . g:expected_wrapper),
\ ale#maven#FindExecutable(bufnr(''))
Execute(Should return 'mvn' if 'mvnw' not found in parent directory):
- call ale#test#SetFilename('maven-test-files/maven-java-project/module2/src/main/java/dummy2.java')
+ call ale#test#SetFilename('test-files/maven/maven-java-project/module2/src/main/java/dummy2.java')
let $PATH .= (has('win32') ? ';' : ':')
- \ . ale#path#Simplify(g:dir . '/maven-test-files')
+ \ . ale#path#Simplify(g:dir . '/test-files/maven')
AssertEqual
\ 'mvn',