Skip to content

Commit

Permalink
Fix tests to new headers format
Browse files Browse the repository at this point in the history
  • Loading branch information
khlopko committed Jun 12, 2024
1 parent 5628a17 commit 2f5d95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/MarkdownTests/MarkdownParserTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ struct MarkdownParserTests {
let expected: [Block] = [
.p([.text("This is a paragraph.\nStill the same paragraph.", .regular)]),
.p([.text("And this is another one.", .regular)]),
.h(.h1, .p([.text("And this is a header paragraph", .regular)])),
.h(.h3, .p([.text("This one as well", .regular)])),
.h(.h1, [.text("And this is a header paragraph", .regular)]),
.h(.h3, [.text("This one as well", .regular)]),
.p([.text("Paragraph after header.", .regular)]),
]
#expect(result == expected)
Expand Down

0 comments on commit 2f5d95d

Please sign in to comment.