From 154d5f316bc9e28de6945c3d719a5f057084d84c Mon Sep 17 00:00:00 2001 From: David Johnston Date: Tue, 1 Oct 2013 11:27:26 +0100 Subject: [PATCH] Added test for !limit (not limit) Added test for !limit (not limit) to ensure bug change works --- editions/test/tiddlers/tests/test-filters.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editions/test/tiddlers/tests/test-filters.js b/editions/test/tiddlers/tests/test-filters.js index 19d74f35e..926c12ed6 100644 --- a/editions/test/tiddlers/tests/test-filters.js +++ b/editions/test/tiddlers/tests/test-filters.js @@ -141,6 +141,7 @@ describe("Filter tests", function() { it("should handle the limit operator", function() { expect(wiki.filterTiddlers("[!is[system]sort[title]limit[2]]").join(",")).toBe("a fourth tiddler,one"); expect(wiki.filterTiddlers("[prefix[Tid]sort[title]limit[1]]").join(",")).toBe("Tiddler Three"); + expect(wiki.filterTiddlers("[prefix[Tid]sort[title]!limit[1]]").join(",")).toBe("TiddlerOne"); }); it("should handle the list operator", function() {