kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Update test for recent parser changes
rodzic
848a7f4e74
commit
48d452c535
|
@ -108,7 +108,7 @@ describe("WikiText parser tests", function() {
|
|||
it("should parse macro definitions", function() {
|
||||
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(
|
||||
|
||||
[ { type : 'set', name : 'myMacro', params : [ ], text : 'nothing', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ] } ]
|
||||
[ { type : 'set', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ], params : [ ] } ]
|
||||
|
||||
);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue