Fix adding file path instead of stem to markdown entries

This commit is contained in:
Debanjum Singh Solanky
2024-03-31 18:03:17 +05:30
parent 720139c3c1
commit ad4fa4b2f4
2 changed files with 3 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ def test_extract_markdown_with_no_headings(tmp_path):
data = {
f"{tmp_path}": entry,
}
expected_heading = f"# {tmp_path.stem}"
expected_heading = f"# {tmp_path}"
# Act
# Extract Entries from specified Markdown files