chore: update parser tests

This commit is contained in:
Steven
2023-12-16 11:34:55 +08:00
parent aee0e31b0a
commit 1237643028
12 changed files with 50 additions and 46 deletions

View File

@@ -19,7 +19,7 @@ func TestHeadingParser(t *testing.T) {
heading: nil,
},
{
text: "## Hello World",
text: "## Hello World\n123",
heading: &ast.Heading{
Level: 2,
Children: []ast.Node{
@@ -53,7 +53,6 @@ Hello World`,
&ast.Text{
Content: "123 ",
},
&ast.LineBreak{},
},
},
},