Skip to content

Commit eaa4a0d

Browse files
test: use delimiter-aware frontmatter extraction in roundtrip test
Drop brittle md.split('---') assertion; _extract_frontmatter_dict already covers the same check with proper delimiter handling.
1 parent df37c92 commit eaa4a0d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/test_md_exporter_yaml.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def test_yaml_frontmatter_roundtrip(self):
7979
},
8080
)
8181
md = session_to_markdown(session)
82-
assert yaml.safe_load(md.split("---")[1]) == _session_frontmatter_dict(session)
8382
assert _extract_frontmatter_dict(md) == _session_frontmatter_dict(session)
8483

8584
def test_multiline_title_uses_quoted_scalar(self):

0 commit comments

Comments
 (0)