mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 07:14:43 +00:00
Rename the 'setvariable' widget to 'set'
Sleeker.
This commit is contained in:
@@ -98,7 +98,7 @@ describe("WikiText parser tests", function() {
|
||||
it("should parse macro definitions", function() {
|
||||
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(
|
||||
|
||||
[ { type : 'setvariable', name : 'myMacro', params : [ ], text : 'nothing', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ] } ]
|
||||
[ { type : 'set', name : 'myMacro', params : [ ], text : 'nothing', attributes : { name : { type : 'string', value : 'myMacro' }, value : { type : 'string', value : 'nothing' } }, children : [ ] } ]
|
||||
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user