fix: Correct assertion in link_def_test.v

- Corrected the assertion in `test_empty()` to reflect the
  expected number of children in an empty document.
This commit is contained in:
Mahmoud Emad
2025-03-24 12:56:17 +02:00
parent 598b312140
commit 7b621243d0

View File

@@ -5,7 +5,7 @@ import freeflowuniverse.herolib.data.markdownparser.elements
fn test_empty() {
mut mydoc := new(content: '')!
assert mydoc.children.len == 1
assert mydoc.children.len == 0
}
fn test_empty2() {