summaryrefslogtreecommitdiff
path: root/test/fixers/test_ocamlformat_fixer_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-28 19:50:36 +0100
committerw0rp <devw0rp@gmail.com>2020-08-28 19:50:36 +0100
commit7d4ce4e6aa960a6052a16d90322566d6f4fddb7c (patch)
tree0f191e0dff643cc4b53f6dbd5259fef028d7a0dd /test/fixers/test_ocamlformat_fixer_callback.vader
parent3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (diff)
downloadale-7d4ce4e6aa960a6052a16d90322566d6f4fddb7c.zip
Close #3325 - Apply new formatting where possible
Diffstat (limited to 'test/fixers/test_ocamlformat_fixer_callback.vader')
-rw-r--r--test/fixers/test_ocamlformat_fixer_callback.vader6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/fixers/test_ocamlformat_fixer_callback.vader b/test/fixers/test_ocamlformat_fixer_callback.vader
index f0c36ed7..0ccdb070 100644
--- a/test/fixers/test_ocamlformat_fixer_callback.vader
+++ b/test/fixers/test_ocamlformat_fixer_callback.vader
@@ -19,8 +19,7 @@ Execute(The ocamlformat callback should return the correct default values):
AssertEqual
\ {
\ 'command': ale#Escape('xxxinvalid')
- \ . ' --name=' . ale#Escape(bufname(bufnr('')))
- \ . ' -',
+ \ . ' --name=%s -',
\ },
\ ale#fixers#ocamlformat#Fix(bufnr(''))
@@ -32,7 +31,6 @@ Execute(The ocamlformat callback should include custom ocamlformat options):
\ {
\ 'command': ale#Escape('xxxinvalid')
\ . ' ' . g:ale_ocaml_ocamlformat_options
- \ . ' --name=' . ale#Escape(bufname(bufnr('')))
- \ . ' -',
+ \ . ' --name=%s -',
\ },
\ ale#fixers#ocamlformat#Fix(bufnr(''))