Skip to content

Commit b4eaca1

Browse files
committed
adjust test
1 parent cab754d commit b4eaca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/markupParser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ suite("markupParser Tests", function () {
2222

2323
test("Test render headers", function () {
2424
const testFile = vscode.Uri.file(path.join(__dirname, "../../src/test/testfiles/nix/scoped/headings.confluence"));
25-
const expected = '<h1>Heading 1</h1><br /><h2>Heading 2</h2><br /><h3>Heading 3</h3><br /><h4>Heading 4</h4><br /><h5>Heading 5</h5><br /><h6>Heading 6</h6><br />'
25+
const expected = '<p><h1>Heading 1</h1></p><p><h2>Heading 2</h2></p><p><h3>Heading 3</h3></p><p><h4>Heading 4</h4></p><p><h5>Heading 5</h5></p><p><h6>Heading 6</h6></p>'
2626
const content = fs.readFileSync(testFile.fsPath, 'utf8');
2727
assert.equal(parseMarkup(testFile, content), expected);
2828
});

0 commit comments

Comments
 (0)