summaryrefslogtreecommitdiff
path: root/test/fixers/test_rubocop_fixer_callback.vader
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-10-26 18:19:42 +0100
committerGitHub <noreply@github.com>2018-10-26 18:19:42 +0100
commit70f2873699ad3b2a0185b992c6ba1c06c073d261 (patch)
tree98135a336c34a91631b39a99ba38b0a556c531c0 /test/fixers/test_rubocop_fixer_callback.vader
parent7af33637e874efea63a0bc27769aa4728962c652 (diff)
parent90048ac933c0dc259957987457037196da04ad8b (diff)
downloadale-70f2873699ad3b2a0185b992c6ba1c06c073d261.zip
Merge pull request #2024 from jpowell/1580-rubocop-fixer-force-exclusions
Adds missing "s" on rubocop exclusion flag
Diffstat (limited to 'test/fixers/test_rubocop_fixer_callback.vader')
-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 866326bf..144ee8d4 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-exclusion %t',
+ \ . ' --auto-correct --force-exclusions %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-exclusion %t',
+ \ . ' --auto-correct --force-exclusions %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-exclusion %t',
+ \ . ' --auto-correct --force-exclusions %t',
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))