diff options
Diffstat (limited to 'test/test_ant_find_project_root.vader')
-rw-r--r-- | test/test_ant_find_project_root.vader | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_ant_find_project_root.vader b/test/test_ant_find_project_root.vader index bde33f00..b0868ad7 100644 --- a/test/test_ant_find_project_root.vader +++ b/test/test_ant_find_project_root.vader @@ -7,28 +7,28 @@ After: call ale#linter#Reset() Execute(Should return current directory if called on the project root): - 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#ant#FindProjectRoot(bufnr('')) Execute(Should return root directory if called on a deeply nested source file): - call ale#test#SetFilename('ant-test-files/ant-project/src/several/namespace/layers/A.java') + call ale#test#SetFilename('test-files/ant/ant-project/src/several/namespace/layers/A.java') AssertEqual - \ ale#path#Simplify(g:dir . '/ant-test-files/ant-project'), + \ ale#path#Simplify(g:dir . '/test-files/ant/ant-project'), \ ale#ant#FindProjectRoot(bufnr('')) Execute(Should return empty string if called on a non-ant project): - call ale#test#SetFilename('ant-test-files/non-ant-project/Main.java') + call ale#test#SetFilename('test-files/ant/non-ant-project/Main.java') AssertEqual \ '', \ ale#ant#FindProjectRoot(bufnr('')) Execute(Should return empty string if called on a file in a non-ant project): - call ale#test#SetFilename('ant-test-files/non-ant-project/several/namespace/layers/A.java') + call ale#test#SetFilename('test-files/ant/non-ant-project/several/namespace/layers/A.java') AssertEqual \ '', |