mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-26 05:51:08 +08:00
Fix the mscs tests on Windows, and use the improved Simplify for all tests instead.
This commit is contained in:
@@ -18,12 +18,12 @@ Execute(Should return 'gradlew' if found in parent directory):
|
||||
call ale#test#SetFilename('gradle-test-files/wrapped-project/src/main/kotlin/dummy.kt')
|
||||
|
||||
AssertEqual
|
||||
\ ale#path#Winify(g:dir . '/gradle-test-files/wrapped-project/gradlew'),
|
||||
\ ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project/gradlew'),
|
||||
\ ale#gradle#FindExecutable(bufnr(''))
|
||||
|
||||
Execute(Should return 'gradle' if 'gradlew' not found in parent directory):
|
||||
call ale#test#SetFilename('gradle-test-files/unwrapped-project/src/main/kotlin/dummy.kt')
|
||||
let $PATH .= (has('win32') ? ';': ':') . ale#path#Winify(g:dir . '/gradle-test-files')
|
||||
let $PATH .= (has('win32') ? ';': ':') . ale#path#Simplify(g:dir . '/gradle-test-files')
|
||||
|
||||
AssertEqual
|
||||
\ 'gradle',
|
||||
|
||||
Reference in New Issue
Block a user