1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Update test for transclusion recursion detection

This commit is contained in:
Jermolene 2014-09-27 17:30:13 +01:00
parent eaf41f3f18
commit d9bdc89dfd

View File

@ -163,7 +163,7 @@ describe("Widget module", function() {
var wrapper = renderWidgetNode(widgetNode); var wrapper = renderWidgetNode(widgetNode);
describe("should detect the recursion", function() { describe("should detect the recursion", function() {
// Test the rendering // Test the rendering
expect(wrapper.innerHTML).toBe("Recursive transclusion error in transclude widget\n"); expect(wrapper.innerHTML).toBe("<span class='tc-error'>Recursive transclusion error in transclude widget</span>\n");
}); });
}); });