summaryrefslogtreecommitdiff
path: root/test/fixers/test_ocamlformat_fixer_callback.vader
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2020-08-29 10:42:25 +0200
committerBartek thindil Jasicki <thindil@laeran.pl>2020-08-29 10:42:25 +0200
commit0de847a8e1793b597ba0a73ae8e20797a5fce920 (patch)
tree6f465b404af38ff25dddde94e052bdfa0a3a38c8 /test/fixers/test_ocamlformat_fixer_callback.vader
parent62f07d820c2b474216657bd43a3a919469c9584f (diff)
parent7d4ce4e6aa960a6052a16d90322566d6f4fddb7c (diff)
downloadale-0de847a8e1793b597ba0a73ae8e20797a5fce920.zip
Merge remote-tracking branch 'upstream/master'
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(''))