diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-01-02 13:36:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 13:36:20 +0000 |
commit | e98a3899da6852026eab2356cd7a1cbc470aef09 (patch) | |
tree | 7af814644f1dbabafdb6cc94ea680efb490125fe /test | |
parent | 80342b119aa1e8fda62ca24cc0000ae3e9709dd1 (diff) | |
parent | b0eaddadc9b4b99f8f0163a5b55ab4dc0499d238 (diff) | |
download | ale-e98a3899da6852026eab2356cd7a1cbc470aef09.zip |
Merge pull request #1254 from bkhl/master
Don't use temporary file for rustfmt fixer
Diffstat (limited to 'test')
-rw-r--r-- | test/fixers/test_rustfmt_fixer_callback.vader | 8 |
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('')) |