chore: refactor and simplify parsing

Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
Konstantin Fickel 2025-06-20 16:26:17 +02:00
parent b7ad75f079
commit 695a28e715
2 changed files with 28 additions and 23 deletions

View file

@ -26,14 +26,14 @@ class TestParseProcess:
)
def test_parse_basic_multi_line_file(self):
test_file = "Hello World\nHello again!"
test_file = "Hello World\n\nHello again!"
assert parse_markdown_file(self.file_name, test_file) == StreamFile(
filename=self.file_name,
shard=Shard(
markers=[],
tags=[],
start_line=1,
end_line=2,
end_line=3,
children=[],
),
)