Skip to content

Commit

Permalink
Fixed test broken by last README update
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 21, 2021
1 parent cada860 commit e1106f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_publish_vercel.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def test_help_in_readme(request):
# Ensure the --help output embedded in the README is up-to-date
readme_path = pathlib.Path(__file__).parent.parent / "README.md"
readme = readme_path.read_text()
block_re = re.compile("```(.*)```", re.DOTALL)
block_re = re.compile("```(.*?)```", re.DOTALL)
expected = block_re.search(readme).group(1).strip()
runner = CliRunner()
result = runner.invoke(cli.cli, ["publish", "vercel", "--help"], terminal_width=88)
Expand Down

0 comments on commit e1106f7

Please sign in to comment.