summaryrefslogtreecommitdiff
path: root/test/fixers
diff options
context:
space:
mode:
authorMax Hung <info@maxhung.co.nz>2018-10-31 11:18:07 +1300
committerMax Hung <info@maxhung.co.nz>2018-10-31 11:18:07 +1300
commitbe02ba4ed7acb393a6729618fd72b75c868dc12a (patch)
tree77b9aaf1582cf9ae53a95cd371e30154ff8b1afe /test/fixers
parentcae40e1c347064bd3ab5eb4c04e9e357d3d82105 (diff)
downloadale-be02ba4ed7acb393a6729618fd72b75c868dc12a.zip
Use correct exclusion flag in rubocop fixer
Diffstat (limited to 'test/fixers')
-rw-r--r--test/fixers/test_rubocop_fixer_callback.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixers/test_rubocop_fixer_callback.vader b/test/fixers/test_rubocop_fixer_callback.vader
index 144ee8d4..866326bf 100644
--- a/test/fixers/test_rubocop_fixer_callback.vader
+++ b/test/fixers/test_rubocop_fixer_callback.vader
@@ -23,7 +23,7 @@ Execute(The rubocop callback should return the correct default values):
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
- \ . ' --auto-correct --force-exclusions %t',
+ \ . ' --auto-correct --force-exclusion %t',
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))
@@ -35,7 +35,7 @@ Execute(The rubocop callback should include configuration files):
\ 'read_temporary_file': 1,
\ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
\ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/ruby_paths/with_config/.rubocop.yml'))
- \ . ' --auto-correct --force-exclusions %t',
+ \ . ' --auto-correct --force-exclusion %t',
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))
@@ -49,6 +49,6 @@ Execute(The rubocop callback should include custom rubocop options):
\ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
\ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/ruby_paths/with_config/.rubocop.yml'))
\ . ' --except Lint/Debugger'
- \ . ' --auto-correct --force-exclusions %t',
+ \ . ' --auto-correct --force-exclusion %t',
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))