Skip to content

Commit 2380446

Browse files
committed
Rearrange asserts
1 parent 7f6583c commit 2380446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tests/console/commands/test_version.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def test_short_version_update(tester: CommandTester):
8181
def test_dry_run(tester: CommandTester):
8282
old_pyproject = tester.command.poetry.file.path.read_text()
8383
tester.execute("--dry-run major")
84-
assert tester.io.fetch_output() == "Bumping version from 1.2.3 to 2.0.0\n"
84+
8585
new_pyproject = tester.command.poetry.file.path.read_text()
86+
assert tester.io.fetch_output() == "Bumping version from 1.2.3 to 2.0.0\n"
8687
assert old_pyproject == new_pyproject

0 commit comments

Comments
 (0)