Skip to content

Commit 57caaba

Browse files
committed
test: fix missing assert in new snapshot tests
1 parent 1e04c59 commit 57caaba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/snapshot_tests/test_snapshots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3914,7 +3914,7 @@ def action_remove_options(self) -> None:
39143914
for _ in range(15):
39153915
option_list.remove_option_at_index(0)
39163916

3917-
snap_compare(OptionListApp(), press=["x"])
3917+
assert snap_compare(OptionListApp(), press=["x"])
39183918

39193919

39203920
def test_option_list_size_when_options_cleared(snap_compare):
@@ -3934,4 +3934,4 @@ def compose(self) -> ComposeResult:
39343934
def action_clear_options(self) -> None:
39353935
self.query_one(OptionList).clear_options()
39363936

3937-
snap_compare(OptionListApp(), press=["x"])
3937+
assert snap_compare(OptionListApp(), press=["x"])

0 commit comments

Comments
 (0)