Fix indentation of latest TIL

This commit is contained in:
jbranchaud
2026-07-29 01:23:23 -05:00
parent 1225349978
commit 300a22f18b
@@ -11,7 +11,7 @@ equivalent to that in Python is
[`textwrap.dedent`](https://docs.python.org/3/library/textwrap.html#textwrap.dedent). [`textwrap.dedent`](https://docs.python.org/3/library/textwrap.html#textwrap.dedent).
> Remove any common leading whitespace from every line in text. > 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 > 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. > 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"]) help_result = runner.invoke(cli, ["--help"])
output = textwrap.dedent("""\ output = textwrap.dedent("""\
Usage: vmt [OPTIONS] COMMAND [ARGS]... Usage: vmt [OPTIONS] COMMAND [ARGS]...
Options: Options:
-v, --verbose See extra output when running commands -v, --verbose See extra output when running commands
--help Show this message and exit. --help Show this message and exit.
Commands: Commands:
cancel cancel
log log
start start
status status
stop stop
""") """)
assert output in help_result.output assert output in help_result.output
``` ```