summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-08-17 21:44:19 +0100
committerGitHub <noreply@github.com>2020-08-17 21:44:19 +0100
commitac56574b55a11a8a921bb5169dd4dd3a7348aeeb (patch)
tree5c2deb5e1c73470670bca4190087f905e3315428 /test
parent6d33417b15dd65bdf91cf2945c6c13ab0f72e604 (diff)
parentc207d6a550916f4d34a41711c64024251466fea5 (diff)
downloadale-ac56574b55a11a8a921bb5169dd4dd3a7348aeeb.zip
Merge pull request #3046 from hsanson/2816-fix-standard-fix-doesnt-work
Fix 2816 - Standard fix does not work.
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_standard_fixer_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixers/test_standard_fixer_callback.vader b/test/fixers/test_standard_fixer_callback.vader
index db9f20f6..f5e9c487 100644
--- a/test/fixers/test_standard_fixer_callback.vader
+++ b/test/fixers/test_standard_fixer_callback.vader
@@ -15,7 +15,7 @@ Execute(The executable path should be correct):
\ 'read_temporary_file': 1,
\ 'command': (has('win32') ? 'node.exe ' : '')
\ . ale#Escape(ale#path#Simplify(g:dir . '/../eslint-test-files/react-app/node_modules/standard/bin/cmd.js'))
- \ . ' --fix %t',
+ \ . ' --fix --stdin < %s > %t',
\ },
\ ale#fixers#standard#Fix(bufnr(''))
@@ -26,6 +26,6 @@ Execute(Custom options should be supported):
AssertEqual
\ {
\ 'read_temporary_file': 1,
- \ 'command': ale#Escape('standard') . ' --foo-bar --fix %t',
+ \ 'command': ale#Escape('standard') . ' --foo-bar --fix --stdin < %s > %t',
\ },
\ ale#fixers#standard#Fix(bufnr(''))