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:
@@ -5,7 +5,7 @@ import freeflowuniverse.herolib.data.markdownparser.elements
|
|||||||
|
|
||||||
fn test_empty() {
|
fn test_empty() {
|
||||||
mut mydoc := new(content: '')!
|
mut mydoc := new(content: '')!
|
||||||
assert mydoc.children.len == 1
|
assert mydoc.children.len == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_empty2() {
|
fn test_empty2() {
|
||||||
|
|||||||
Reference in New Issue
Block a user