diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-09-14 11:41:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 11:41:47 +0100 |
commit | f380d8508e2e8c80bb1d1ed6f934b953f1c37bc2 (patch) | |
tree | af0bb8cc788c0d72a5dfb683fe82ff6524351343 /test | |
parent | 78af99c2566ef8fed443ce253e0de9323b9e5043 (diff) | |
parent | c48106f48450840c4d098e3d107c48102e219669 (diff) | |
download | ale-f380d8508e2e8c80bb1d1ed6f934b953f1c37bc2.zip |
Merge pull request #1919 from saschagrunert/patch-1
Change PCRE escape to simple escape
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_golangci_lint_command_callback.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_golangci_lint_command_callback.vader b/test/command_callback/test_golangci_lint_command_callback.vader index 6cb73246..b3805f3a 100644 --- a/test/command_callback/test_golangci_lint_command_callback.vader +++ b/test/command_callback/test_golangci_lint_command_callback.vader @@ -9,7 +9,7 @@ Execute(The golangci-lint defaults should be correct): AssertLinter 'golangci-lint', \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' \ . ale#Escape('golangci-lint') - \ . ' run ' . ale#util#EscapePCRE(expand('%' . ':t')) + \ . ' run ' . ale#Escape(expand('%' . ':t')) \ . ' --enable-all' Execute(The golangci-lint callback should use a configured executable): @@ -18,7 +18,7 @@ Execute(The golangci-lint callback should use a configured executable): AssertLinter 'something else', \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' \ . ale#Escape('something else') - \ . ' run ' . ale#util#EscapePCRE(expand('%' . ':t')) + \ . ' run ' . ale#Escape(expand('%' . ':t')) \ . ' --enable-all' Execute(The golangci-lint callback should use configured options): @@ -27,7 +27,7 @@ Execute(The golangci-lint callback should use configured options): AssertLinter 'golangci-lint', \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && ' \ . ale#Escape('golangci-lint') - \ . ' run ' . ale#util#EscapePCRE(expand('%' . ':t')) + \ . ' run ' . ale#Escape(expand('%' . ':t')) \ . ' --foobar' Execute(The golangci-lint `lint_package` option should use the correct command): |