summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2020-08-24 09:16:35 +0900
committerGitHub <noreply@github.com>2020-08-24 09:16:35 +0900
commit1a7366067af97cda00268d52de5a873827c52962 (patch)
treefe9f53ed0ea34cb5b734be755d50a116a6e28d05 /test
parent33eb03ea7102aaea5b8791cfa070961b40fc40fd (diff)
parent76801743cf18e69a6dec86947243b6ec55530c7b (diff)
downloadale-1a7366067af97cda00268d52de5a873827c52962.zip
Merge pull request #3302 from khaveesh/master
latexindent: Run fixer from stdin instead of a temporary file
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_latexindent_fixer_callback.vader8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/fixers/test_latexindent_fixer_callback.vader b/test/fixers/test_latexindent_fixer_callback.vader
index d0da94a1..a440ed65 100644
--- a/test/fixers/test_latexindent_fixer_callback.vader
+++ b/test/fixers/test_latexindent_fixer_callback.vader
@@ -18,10 +18,8 @@ Execute(The latexindent callback should return the correct default values):
AssertEqual
\ {
- \ 'read_temporary_file': 1,
\ 'command': ale#Escape('xxxinvalid')
- \ . ' -l -w'
- \ . ' %t',
+ \ . ' -l'
\ },
\ ale#fixers#latexindent#Fix(bufnr(''))
@@ -31,10 +29,8 @@ Execute(The latexindent callback should include custom gofmt options):
AssertEqual
\ {
- \ 'read_temporary_file': 1,
\ 'command': ale#Escape('xxxinvalid')
- \ . ' -l -w'
+ \ . ' -l'
\ . ' ' . g:ale_tex_latexindent_options
- \ . ' %t',
\ },
\ ale#fixers#latexindent#Fix(bufnr(''))