diff options
author | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:22 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:42 +0000 |
commit | b1d833417bcb57e265e0d01df07b28f463529d4b (patch) | |
tree | 11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/test_ant_build_classpath_command.vader | |
parent | 3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff) | |
download | ale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip |
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/test_ant_build_classpath_command.vader')
-rw-r--r-- | test/test_ant_build_classpath_command.vader | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_ant_build_classpath_command.vader b/test/test_ant_build_classpath_command.vader index 72a7688d..b97dc594 100644 --- a/test/test_ant_build_classpath_command.vader +++ b/test/test_ant_build_classpath_command.vader @@ -3,7 +3,7 @@ Before: runtime ale_linters/java/javac.vim Save $PATH - let $PATH = ale#path#Simplify(g:dir . '/ant-test-files/bin') + let $PATH = ale#path#Simplify(g:dir . '/test-files/ant/bin') After: Restore @@ -12,16 +12,16 @@ After: call ale#linter#Reset() Execute(Should return `cd '[dir]' && 'ant' classpath -S -q`): - call ale#test#SetFilename('ant-test-files/ant-project/Main.java') + call ale#test#SetFilename('test-files/ant/ant-project/Main.java') AssertEqual \ [ - \ ale#path#Simplify(g:dir . '/ant-test-files/ant-project'), + \ ale#path#Simplify(g:dir . '/test-files/ant/ant-project'), \ ale#Escape('ant') . ' classpath' . ' -S' . ' -q', \ ], \ ale#ant#BuildClasspathCommand(bufnr('')) Execute(Should return empty string if ant cannot be executed): - call ale#test#SetFilename('ant-test-files/not-an-ant-project/Main.java') + call ale#test#SetFilename('test-files/ant/not-an-ant-project/Main.java') AssertEqual ['', ''], ale#ant#BuildClasspathCommand(bufnr('')) |