diff --git a/editions/test/tiddlers/tests/test-wikitext.js b/editions/test/tiddlers/tests/test-wikitext.js index 3c5e4b311..3cdc5cc07 100644 --- a/editions/test/tiddlers/tests/test-wikitext.js +++ b/editions/test/tiddlers/tests/test-wikitext.js @@ -72,8 +72,10 @@ describe("WikiText tests", function() { }); it("handles link wikitext notation", function() { expect(wiki.renderText("text/html","text/vnd-tiddlywiki","A link to [[TiddlerFive]]")).toBe('

A link to TiddlerFive

' ); + var tiddler = wiki.getTiddler("TiddlerFive"); wiki.deleteTiddler("TiddlerFive"); expect(wiki.renderText("text/html","text/vnd-tiddlywiki","A link to [[TiddlerFive]]")).toBe('

A link to TiddlerFive

'); + wiki.addTiddler(tiddler); }); it("handles block mark wikitext notation", function() { expect(wiki.renderText("text/html","text/vnd-tiddlywiki","Link to section [[TiddlerFive^markID]]")).toBe('

Link to section TiddlerFive

' );