mirror of
https://github.com/jbranchaud/til
synced 2026-08-31 16:51:46 +00:00
Fix indentation of latest TIL
This commit is contained in:
@@ -11,7 +11,7 @@ equivalent to that in Python is
|
||||
[`textwrap.dedent`](https://docs.python.org/3/library/textwrap.html#textwrap.dedent).
|
||||
|
||||
> Remove any common leading whitespace from every line in text.
|
||||
>
|
||||
>
|
||||
> This can be used to make triple-quoted strings line up with the left edge of
|
||||
> the display, while still presenting them in the source code in indented form.
|
||||
|
||||
@@ -23,18 +23,18 @@ def test_base_help_message():
|
||||
|
||||
help_result = runner.invoke(cli, ["--help"])
|
||||
output = textwrap.dedent("""\
|
||||
Usage: vmt [OPTIONS] COMMAND [ARGS]...
|
||||
Usage: vmt [OPTIONS] COMMAND [ARGS]...
|
||||
|
||||
Options:
|
||||
-v, --verbose See extra output when running commands
|
||||
--help Show this message and exit.
|
||||
Options:
|
||||
-v, --verbose See extra output when running commands
|
||||
--help Show this message and exit.
|
||||
|
||||
Commands:
|
||||
cancel
|
||||
log
|
||||
start
|
||||
status
|
||||
stop
|
||||
Commands:
|
||||
cancel
|
||||
log
|
||||
start
|
||||
status
|
||||
stop
|
||||
""")
|
||||
assert output in help_result.output
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user