mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-29 06:37:39 +00:00 
			
		
		
		
	Tests: Improve transclusion recursion test
Previously we were testing a tiddler transcluding itself, but it's clearer to make it an indirect recursion
This commit is contained in:
		| @@ -143,7 +143,8 @@ describe("Widget module", function() { | |||||||
| 		var wiki = new $tw.Wiki(); | 		var wiki = new $tw.Wiki(); | ||||||
| 		// Add a tiddler | 		// Add a tiddler | ||||||
| 		wiki.addTiddlers([ | 		wiki.addTiddlers([ | ||||||
| 			{title: "TiddlerOne", text: "<$transclude tiddler='TiddlerOne'/>\n"} | 			{title: "TiddlerOne", text: "<$transclude tiddler='TiddlerTwo'/>\n"}, | ||||||
|  | 			{title: "TiddlerTwo", text: "<$transclude tiddler='TiddlerOne'/>"} | ||||||
| 		]); | 		]); | ||||||
| 		// Test parse tree | 		// Test parse tree | ||||||
| 		var parseTreeNode = {type: "widget", children: [ | 		var parseTreeNode = {type: "widget", children: [ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jeremy@jermolene.com
					jeremy@jermolene.com