diff options
author | David Lord <davidism@gmail.com> | 2021-04-12 20:12:04 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-04-12 20:13:57 -0700 |
commit | b1e7858cae16957d2d9eb2fc462b29e67cf9d320 (patch) | |
tree | 446a8813c3f637582c7f6da0ffca761438ebd3f3 /tests/test_chain.py | |
parent | e3594e7f8a76dd15109d29570a6f263e56e412f2 (diff) | |
download | click-b1e7858cae16957d2d9eb2fc462b29e67cf9d320.tar.gz |
rename resultcallback to result_callback
Diffstat (limited to 'tests/test_chain.py')
-rw-r--r-- | tests/test_chain.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_chain.py b/tests/test_chain.py index 74a04f1..23520a0 100644 --- a/tests/test_chain.py +++ b/tests/test_chain.py @@ -99,7 +99,7 @@ def test_no_command_result_callback(runner, chain, expect): def cli(): pass - @cli.resultcallback() + @cli.result_callback() def process_result(result): click.echo(str(result), nl=False) @@ -133,7 +133,7 @@ def test_pipeline(runner): def cli(input): pass - @cli.resultcallback() + @cli.result_callback() def process_pipeline(processors, input): iterator = (x.rstrip("\r\n") for x in input) for processor in processors: |