Skip to content

Commit bcaad58

Browse files
committed
simpler test
1 parent 41441df commit bcaad58

File tree

2 files changed

+59
-58
lines changed

2 files changed

+59
-58
lines changed

tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_and_margin.svg

+57-57
Loading

tests/snapshot_tests/test_snapshots.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2359,6 +2359,7 @@ class FRApp(App):
23592359
#third-container {
23602360
margin: 4;
23612361
background: blue;
2362+
height: auto;
23622363
}
23632364
"""
23642365

@@ -2369,7 +2370,7 @@ def compose(self) -> ComposeResult:
23692370
with Container(id="second-container"):
23702371
yield Label("A margin of 2, should be 2 cells around the text")
23712372

2372-
with Center(id="third-container"):
2373+
with Container(id="third-container"):
23732374
yield Label("A margin of 4, should be 4 cells around the text")
23742375

23752376
assert snap_compare(FRApp())

0 commit comments

Comments
 (0)