|
@ -16,7 +16,7 @@ describe("Compile AST to Raw String", function () { |
|
|
const ast = [ |
|
|
const ast = [ |
|
|
{ type: "url", children: ["The Feathers"], url: "feathers.studio" }, |
|
|
{ type: "url", children: ["The Feathers"], url: "feathers.studio" }, |
|
|
]; |
|
|
]; |
|
|
expect(CompileText(ast)).to.eql("The Feathers feathers.studio"); |
|
|
expect(CompileText(ast)).to.eql("The Feathers (feathers.studio)"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
it("Formatted Link AST", function () { |
|
|
it("Formatted Link AST", function () { |
|
@ -32,7 +32,7 @@ describe("Compile AST to Raw String", function () { |
|
|
url: "feathers.studio", |
|
|
url: "feathers.studio", |
|
|
}, |
|
|
}, |
|
|
]; |
|
|
]; |
|
|
expect(CompileText(ast)).to.eql("The Feathers feathers.studio"); |
|
|
expect(CompileText(ast)).to.eql("The Feathers (feathers.studio)"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// it("Wrongly Formatted Link AST", function () {
|
|
|
// it("Wrongly Formatted Link AST", function () {
|
|
|