summaryrefslogtreecommitdiff
path: root/test/fixers
diff options
context:
space:
mode:
authorYuto Ito <uplus@users.noreply.github.com>2021-09-23 18:46:16 +0900
committerGitHub <noreply@github.com>2021-09-23 18:46:16 +0900
commitc9c89a1853c01f3451edd7105814d123023ddbd8 (patch)
tree895dc03346b9d51bba6622edb1ec54a0338934fd /test/fixers
parentf8a4c78b5b293d11da9075373c9de0bb5afdeffe (diff)
downloadale-c9c89a1853c01f3451edd7105814d123023ddbd8.zip
Fix: Failed to execute rubocop fixer on other machine (#3916)
Diffstat (limited to 'test/fixers')
-rw-r--r--test/fixers/test_rubocop_fixer_callback.vader14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/fixers/test_rubocop_fixer_callback.vader b/test/fixers/test_rubocop_fixer_callback.vader
index 5b5375ae..f7b0eb60 100644
--- a/test/fixers/test_rubocop_fixer_callback.vader
+++ b/test/fixers/test_rubocop_fixer_callback.vader
@@ -24,18 +24,6 @@ Execute(The rubocop callback should return the correct default values):
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))
-Execute(The rubocop callback should include configuration files):
- call ale#test#SetFilename('../test-files/ruby/with_config/dummy.rb')
-
- AssertEqual
- \ {
- \ 'process_with': 'ale#fixers#rubocop#PostProcess',
- \ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
- \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ruby/with_config/.rubocop.yml'))
- \ . ' --auto-correct --force-exclusion --stdin %s',
- \ },
- \ ale#fixers#rubocop#Fix(bufnr(''))
-
Execute(The rubocop callback should include custom rubocop options):
let g:ale_ruby_rubocop_options = '--except Lint/Debugger'
call ale#test#SetFilename('../test-files/ruby/with_config/dummy.rb')
@@ -44,7 +32,6 @@ Execute(The rubocop callback should include custom rubocop options):
\ {
\ 'process_with': 'ale#fixers#rubocop#PostProcess',
\ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
- \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ruby/with_config/.rubocop.yml'))
\ . ' --except Lint/Debugger'
\ . ' --auto-correct --force-exclusion --stdin %s',
\ },
@@ -58,7 +45,6 @@ Execute(The rubocop callback should use auto-correct-all option when set):
\ {
\ 'process_with': 'ale#fixers#rubocop#PostProcess',
\ 'command': ale#Escape(g:ale_ruby_rubocop_executable)
- \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ruby/with_config/.rubocop.yml'))
\ . ' --auto-correct-all --force-exclusion --stdin %s'
\ },
\ ale#fixers#rubocop#Fix(bufnr(''))