From 5786da844ce92c320ef6acb3938282aba23aab09 Mon Sep 17 00:00:00 2001 From: Sebazzz Date: Tue, 18 Nov 2014 22:17:42 +0100 Subject: [PATCH] Fix test for new Grouping definition --- linq/linq-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linq/linq-tests.ts b/linq/linq-tests.ts index b89625481..1fdd731cf 100644 --- a/linq/linq-tests.ts +++ b/linq/linq-tests.ts @@ -30,7 +30,7 @@ describe("Linq.js tests", function () { it("Grouping Methods", function () { expect(Enumerable.From(["a","aa","aaa","a","a","aaa"]) .GroupBy((item:string) => item.length) - .Select((g: linq.Grouping) => { return { key: g.Key(), count: g.Count() }; }) + .Select((g: linq.Grouping) => { return { key: g.Key(), count: g.Count() }; }) .OrderBy(g => g.key) .Select(g => g.key+":"+g.count) .ToString(",")).toBe("1:3,2:1,3:2");