summaryrefslogtreecommitdiff
path: root/test/test_gradle_find_project_root.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-23 01:26:31 +0100
committerw0rp <devw0rp@gmail.com>2017-10-23 01:26:31 +0100
commit231398dddc59b01bc83f5a333af1ae741d31ed51 (patch)
tree1e5dab4cca104a01d11c7428e3c802296cb3bf31 /test/test_gradle_find_project_root.vader
parentc4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff)
downloadale-231398dddc59b01bc83f5a333af1ae741d31ed51.zip
Get more of the tests to pass on Windows
Diffstat (limited to 'test/test_gradle_find_project_root.vader')
-rw-r--r--test/test_gradle_find_project_root.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_gradle_find_project_root.vader b/test/test_gradle_find_project_root.vader
index bd1b8d7d..87af1109 100644
--- a/test/test_gradle_find_project_root.vader
+++ b/test/test_gradle_find_project_root.vader
@@ -10,21 +10,21 @@ Execute(Should return directory for 'gradlew' if found in parent directory):
call ale#test#SetFilename('gradle-test-files/wrapped-project/src/main/kotlin/dummy.kt')
AssertEqual
- \ g:dir . '/gradle-test-files/wrapped-project',
+ \ ale#path#Winify(g:dir . '/gradle-test-files/wrapped-project'),
\ ale#gradle#FindProjectRoot(bufnr(''))
Execute(Should return directory for 'settings.gradle' if found in parent directory):
call ale#test#SetFilename('gradle-test-files/settings-gradle-project/src/main/kotlin/dummy.kt')
AssertEqual
- \ g:dir . '/gradle-test-files/settings-gradle-project',
+ \ ale#path#Winify(g:dir . '/gradle-test-files/settings-gradle-project'),
\ ale#gradle#FindProjectRoot(bufnr(''))
Execute(Should return directory for 'build.gradle' if found in parent directory):
call ale#test#SetFilename('gradle-test-files/build-gradle-project/src/main/kotlin/dummy.kt')
AssertEqual
- \ g:dir . '/gradle-test-files/build-gradle-project',
+ \ ale#path#Winify(g:dir . '/gradle-test-files/build-gradle-project'),
\ ale#gradle#FindProjectRoot(bufnr(''))
Execute(Should return empty string if gradle files are not found in parent directory):