Skip to content

Commit fa190a3

Browse files
committed
test: fix missing assert in snapshot tests
Following #5519, it looks like some snapshot tests added recently are missing the assert.
1 parent fd6cb52 commit fa190a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/snapshot_tests/test_snapshots.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@ def compose(self) -> ComposeResult:
38423842
yield CustomWidget()
38433843
yield Footer()
38443844

3845-
snap_compare(MyApp())
3845+
assert snap_compare(MyApp())
38463846

38473847

38483848
def test_enforce_visual(snap_compare):
@@ -3873,7 +3873,7 @@ class OptionListOverflowApp(App[None]):
38733873
def compose(self) -> ComposeResult:
38743874
yield OptionList(*[OverflowOption() for _ in range(100)])
38753875

3876-
snap_compare(OptionListOverflowApp())
3876+
assert snap_compare(OptionListOverflowApp())
38773877

38783878

38793879
def test_notifications_markup(snap_compare):
@@ -3892,4 +3892,4 @@ def on_mount(self) -> None:
38923892
timeout=100,
38933893
)
38943894

3895-
snap_compare(ToastApp())
3895+
assert snap_compare(ToastApp())

0 commit comments

Comments
 (0)