summaryrefslogtreecommitdiff
path: root/test/fixers/test_break_up_long_lines_python_fixer.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-12-18 11:13:28 +0000
committerw0rp <devw0rp@gmail.com>2018-12-18 11:13:28 +0000
commitf1ed654ca5318de5a24b37d882e55e04e4e566c8 (patch)
tree2a41c15887e1bf5a9fed3b466a2c24f62545d54a /test/fixers/test_break_up_long_lines_python_fixer.vader
parent0e3778e335f67a48571bf2b7c5c59c73005efdfa (diff)
downloadale-f1ed654ca5318de5a24b37d882e55e04e4e566c8.zip
#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)
Diffstat (limited to 'test/fixers/test_break_up_long_lines_python_fixer.vader')
-rw-r--r--test/fixers/test_break_up_long_lines_python_fixer.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixers/test_break_up_long_lines_python_fixer.vader b/test/fixers/test_break_up_long_lines_python_fixer.vader
index 5fd991f0..847d3358 100644
--- a/test/fixers/test_break_up_long_lines_python_fixer.vader
+++ b/test/fixers/test_break_up_long_lines_python_fixer.vader
@@ -16,7 +16,7 @@ Execute(Long lines with basic function calls should be broken up correctly):
\ ' bar,',
\ '))',
\ ],
- \ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), [
+ \ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), v:null, [
\ 'def foo():',
\ ' some_variable = this_is_a_longer_function(first_argument, second_argument, third_with_function_call(foo, bar))',
\ ])
@@ -33,7 +33,7 @@ Execute(Longer lines should be permitted if a configuration file allows it):
\ ' a_third_long_word,',
\ ')'
\ ],
- \ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), [
+ \ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), v:null, [
\ 'x = this_line_is_between_79_and_90_characters(first, second, third, fourth, fifth)',
\ 'y = this_line_is_longer_than_90_characters(much_longer_word, another_longer_word, a_third_long_word)',
\ ])