mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-02 06:19:57 +00:00
Update test-wikitext-serialize.js
This commit is contained in:
parent
f5fca2a4d4
commit
043f60b299
@ -116,7 +116,7 @@ describe("WikiAST serialization unit tests", function () {
|
||||
|
||||
wiki.addTiddler({
|
||||
title: "ConditionalTest",
|
||||
text: "This is a <% if [{something}] %>Elephant<% elseif [{else}] %>Pelican<% else %>Crocodile<% endif %>",
|
||||
text: "This is a <%if [{something}] %>Elephant<%elseif [{else}] %>Pelican<%else%>Crocodile<%endif%>",
|
||||
});
|
||||
it("should serialize conditional statements correctly", function () {
|
||||
var serialized = $tw.utils.serializeParseTree(wiki.parseTiddler("ConditionalTest").tree).trimEnd();
|
||||
|
Loading…
Reference in New Issue
Block a user