summaryrefslogtreecommitdiff
path: root/test/test_gradle_build_classpath_command.vader
diff options
context:
space:
mode:
authorpaihu <paihu@users.noreply.github.com>2018-10-22 22:59:06 +0900
committerpaihu <paihu@users.noreply.github.com>2018-10-22 22:59:06 +0900
commit2ea83939a5978fbe5f709b7a1ab0212e4a0fae45 (patch)
treea36337505126e553732f5cefbc35d2916700767c /test/test_gradle_build_classpath_command.vader
parent0261dd2f51ef0a24719a8fc1464a600f2cce4670 (diff)
downloadale-2ea83939a5978fbe5f709b7a1ab0212e4a0fae45.zip
fix testcase
Diffstat (limited to 'test/test_gradle_build_classpath_command.vader')
-rw-r--r--test/test_gradle_build_classpath_command.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_gradle_build_classpath_command.vader b/test/test_gradle_build_classpath_command.vader
index 3c1ecebe..e3ae3bce 100644
--- a/test/test_gradle_build_classpath_command.vader
+++ b/test/test_gradle_build_classpath_command.vader
@@ -25,8 +25,8 @@ Execute(Should return 'gradlew' command if project includes gradle wapper):
call ale#test#SetFilename('gradle-test-files/wrapped-project/src/main/kotlin/dummy.kt')
AssertEqual
- \ 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project'))
- \ . ' && ' . ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project/gradlew'))
+ \ ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project')))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/wrapped-project/gradlew'))
\ . g:command_tail,
\ ale#gradle#BuildClasspathCommand(bufnr(''))
@@ -36,8 +36,8 @@ Execute(Should return 'gradle' command if project does not include gradle wapper
\ . ale#path#Simplify(g:dir . '/gradle-test-files')
AssertEqual
- \ 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/unwrapped-project'))
- \ . ' && ' . ale#Escape('gradle')
+ \ ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/gradle-test-files/unwrapped-project')))
+ \ . ale#Escape('gradle')
\ . g:command_tail,
\ ale#gradle#BuildClasspathCommand(bufnr(''))