diff options
author | paihu <paihu@users.noreply.github.com> | 2018-10-22 22:59:06 +0900 |
---|---|---|
committer | paihu <paihu@users.noreply.github.com> | 2018-10-22 22:59:06 +0900 |
commit | 2ea83939a5978fbe5f709b7a1ab0212e4a0fae45 (patch) | |
tree | a36337505126e553732f5cefbc35d2916700767c /test/command_callback/test_tslint_command_callback.vader | |
parent | 0261dd2f51ef0a24719a8fc1464a600f2cce4670 (diff) | |
download | ale-2ea83939a5978fbe5f709b7a1ab0212e4a0fae45.zip |
fix testcase
Diffstat (limited to 'test/command_callback/test_tslint_command_callback.vader')
-rw-r--r-- | test/command_callback/test_tslint_command_callback.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_tslint_command_callback.vader b/test/command_callback/test_tslint_command_callback.vader index bd8a12ec..9d681ea9 100644 --- a/test/command_callback/test_tslint_command_callback.vader +++ b/test/command_callback/test_tslint_command_callback.vader @@ -7,14 +7,14 @@ After: Execute(The default tslint command should be correct): AssertLinter 'tslint', - \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' + \ ale#path#CdString(ale#Escape(expand('%:p:h'))) \ . ale#Escape('tslint') . ' --format json %t' Execute(The rules directory option should be included if set): let b:ale_typescript_tslint_rules_dir = '/foo/bar' AssertLinter 'tslint', - \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' + \ ale#path#CdString(ale#Escape(expand('%:p:h'))) \ . ale#Escape('tslint') . ' --format json' \ . ' -r ' . ale#Escape('/foo/bar') \ . ' %t' @@ -23,5 +23,5 @@ Execute(The executable should be configurable and escaped): let b:ale_typescript_tslint_executable = 'foo bar' AssertLinter 'foo bar', - \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' + \ ale#path#CdString(ale#Escape(expand('%:p:h'))) \ . ale#Escape('foo bar') . ' --format json %t' |