Added test for !limit (not limit)

Added test for !limit (not limit) to ensure bug change works
This commit is contained in:
David Johnston 2013-10-01 11:27:26 +01:00
parent d321508437
commit 154d5f316b
1 changed files with 1 additions and 0 deletions

View File

@ -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() {