@@ -3842,7 +3842,7 @@ def compose(self) -> ComposeResult:
3842
3842
yield CustomWidget ()
3843
3843
yield Footer ()
3844
3844
3845
- snap_compare (MyApp ())
3845
+ assert snap_compare (MyApp ())
3846
3846
3847
3847
3848
3848
def test_enforce_visual (snap_compare ):
@@ -3873,7 +3873,7 @@ class OptionListOverflowApp(App[None]):
3873
3873
def compose (self ) -> ComposeResult :
3874
3874
yield OptionList (* [OverflowOption () for _ in range (100 )])
3875
3875
3876
- snap_compare (OptionListOverflowApp ())
3876
+ assert snap_compare (OptionListOverflowApp ())
3877
3877
3878
3878
3879
3879
def test_notifications_markup (snap_compare ):
@@ -3892,7 +3892,7 @@ def on_mount(self) -> None:
3892
3892
timeout = 100 ,
3893
3893
)
3894
3894
3895
- snap_compare (ToastApp ())
3895
+ assert snap_compare (ToastApp ())
3896
3896
3897
3897
def test_option_list_size_when_options_removed (snap_compare ):
3898
3898
"""Regression test for https://github.com/Textualize/textual/issues/5728
@@ -3935,7 +3935,6 @@ def action_clear_options(self) -> None:
3935
3935
3936
3936
assert snap_compare (OptionListApp (), press = ["x" ])
3937
3937
3938
- # Thanks Tom Gooding
3939
3938
def test_alignment_with_auto_and_min_height (snap_compare ):
3940
3939
"""Regression test for https://github.com/Textualize/textual/issues/5608
3941
3940
You should see a blue label that is centered both horizontally and vertically
@@ -3962,4 +3961,4 @@ def compose(self) -> ComposeResult:
3962
3961
with Container ():
3963
3962
yield Label ("centered" )
3964
3963
3965
- snap_compare (AlignmentApp ())
3964
+ assert snap_compare (AlignmentApp ())
0 commit comments