diff options
author | paihu <paihu@users.noreply.github.com> | 2018-10-23 23:20:27 +0900 |
---|---|---|
committer | paihu <paihu@users.noreply.github.com> | 2018-10-23 23:20:27 +0900 |
commit | f4395f5b8cb0078536e6033ca9c86e7299ed3ba1 (patch) | |
tree | adf339bfb31497d16203507cc404e58fcd5048ed /test/fixers/test_prettier_fixer_callback.vader | |
parent | bc3ccd6e042fb623e6a34d5184839aa1f1518f32 (diff) | |
download | ale-f4395f5b8cb0078536e6033ca9c86e7299ed3ba1.zip |
ale#path#CdString include ale#Escape
Diffstat (limited to 'test/fixers/test_prettier_fixer_callback.vader')
-rw-r--r-- | test/fixers/test_prettier_fixer_callback.vader | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/fixers/test_prettier_fixer_callback.vader b/test/fixers/test_prettier_fixer_callback.vader index 03a1ce9c..3697e87c 100644 --- a/test/fixers/test_prettier_fixer_callback.vader +++ b/test/fixers/test_prettier_fixer_callback.vader @@ -74,7 +74,7 @@ Execute(--stdin-filepath should be used when prettier is new enough): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --no-semi' \ . ' --stdin-filepath %s --stdin', @@ -90,7 +90,7 @@ Execute(The version number should be cached): " Call it again without the version output. We should use the newer command. AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --stdin-filepath %s --stdin', \ }, @@ -103,7 +103,7 @@ Execute(Should set --parser based on filetype, TypeScript): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser typescript' \ . ' --stdin-filepath %s --stdin', @@ -117,7 +117,7 @@ Execute(Should set --parser based on filetype, CSS): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser css' \ . ' --stdin-filepath %s --stdin', @@ -131,7 +131,7 @@ Execute(Should set --parser based on filetype, LESS): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser less' \ . ' --stdin-filepath %s --stdin', @@ -145,7 +145,7 @@ Execute(Should set --parser based on filetype, SCSS): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser scss' \ . ' --stdin-filepath %s --stdin', @@ -159,7 +159,7 @@ Execute(Should set --parser based on filetype, JSON): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser json' \ . ' --stdin-filepath %s --stdin', @@ -173,7 +173,7 @@ Execute(Should set --parser based on filetype, JSON5): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser json5' \ . ' --stdin-filepath %s --stdin', @@ -187,7 +187,7 @@ Execute(Should set --parser based on filetype, GraphQL): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser graphql' \ . ' --stdin-filepath %s --stdin', @@ -201,7 +201,7 @@ Execute(Should set --parser based on filetype, Markdown): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser markdown' \ . ' --stdin-filepath %s --stdin', @@ -215,7 +215,7 @@ Execute(Should set --parser based on filetype, Vue): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser vue' \ . ' --stdin-filepath %s --stdin', @@ -229,7 +229,7 @@ Execute(Should set --parser based on filetype, YAML): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser yaml' \ . ' --stdin-filepath %s --stdin', @@ -243,7 +243,7 @@ Execute(Should set --parser based on first filetype of multiple filetypes): AssertEqual \ { - \ 'command': ale#path#CdString(ale#Escape(expand('%:p:h'))) + \ 'command': ale#path#CdString(expand('%:p:h')) \ . ale#Escape(g:ale_javascript_prettier_executable) \ . ' --parser css' \ . ' --stdin-filepath %s --stdin', |