Skip to content

Commit f20ba91

Browse files
committed
fix tests
1 parent 16794f4 commit f20ba91

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_panels.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
"content,expected",
88
(
99
("a", [{"body": (["a"], 0)}]),
10-
("---\na", [{"body": (["a"], 1)}]),
11-
("a\n===", [{"body": ([], 2), "header": (["a"], 0)}]),
12-
("a\n...", [{"body": (["a"], 0), "footer": ([], 1)}]),
10+
("...\na", [{"body": (["a"], 1)}]),
11+
("a\n^^^", [{"body": ([], 2), "header": (["a"], 0)}]),
12+
("a\n+++", [{"body": (["a"], 0), "footer": ([], 1)}]),
1313
(
14-
"a\n===\nb\n...\nc",
14+
"a\n^^^\nb\n+++\nc",
1515
[{"body": (["b"], 2), "footer": (["c"], 3), "header": (["a"], 0)}],
1616
),
17-
("---\ncard = a", [{"body": ([], 2), "classes": {"card": ["a"]}}]),
18-
("a\n---\nb", [{"body": (["a"], 0)}, {"body": (["b"], 2)}]),
17+
("...\ncard = a", [{"body": ([], 2), "classes": {"card": ["a"]}}]),
18+
("a\n...\nb", [{"body": (["a"], 0)}, {"body": (["b"], 2)}]),
1919
),
2020
)
2121
def test_parse_panels(content, expected):

0 commit comments

Comments
 (0)