mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-24 07:56:52 +00:00
Fix broken test
This commit is contained in:
parent
c72e4f01f1
commit
9735e13dea
@ -108,7 +108,7 @@ describe("WikiText parser tests", function() {
|
|||||||
it("should parse macro definitions", function() {
|
it("should parse macro definitions", function() {
|
||||||
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(
|
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(
|
||||||
|
|
||||||
[ { type : 'set', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ], params : [ ] } ]
|
[ { type : 'set', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ], params : [ ], isMacroDefinition : true } ]
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user