summaryrefslogtreecommitdiff
path: root/test/fixers/test_rustfmt_fixer_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_rustfmt_fixer_callback.vader')
-rw-r--r--test/fixers/test_rustfmt_fixer_callback.vader8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/fixers/test_rustfmt_fixer_callback.vader b/test/fixers/test_rustfmt_fixer_callback.vader
index 36dd58a1..95c78dea 100644
--- a/test/fixers/test_rustfmt_fixer_callback.vader
+++ b/test/fixers/test_rustfmt_fixer_callback.vader
@@ -18,9 +18,7 @@ Execute(The rustfmt callback should return the correct default values):
AssertEqual
\ {
- \ 'read_temporary_file': 1,
- \ 'command': ale#Escape('xxxinvalid')
- \ . ' %t',
+ \ 'command': ale#Escape('xxxinvalid'),
\ },
\ ale#fixers#rustfmt#Fix(bufnr(''))
@@ -30,9 +28,7 @@ Execute(The rustfmt callback should include custom rustfmt options):
AssertEqual
\ {
- \ 'read_temporary_file': 1,
\ 'command': ale#Escape('xxxinvalid')
- \ . ' ' . g:ale_rust_rustfmt_options
- \ . ' %t',
+ \ . ' ' . g:ale_rust_rustfmt_options,
\ },
\ ale#fixers#rustfmt#Fix(bufnr(''))