From 492c22b1761f0e70e2b07de600ed882355339ad1 Mon Sep 17 00:00:00 2001 From: Eugen Podaru Date: Mon, 28 Sep 2015 15:30:05 +0200 Subject: [PATCH] Fix the tests to comply with the interface --- angularjs/angular-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angularjs/angular-tests.ts b/angularjs/angular-tests.ts index 0174a0d61..7fe9271d9 100644 --- a/angularjs/angular-tests.ts +++ b/angularjs/angular-tests.ts @@ -941,10 +941,10 @@ function ngFilterTyping() { $filter("name")(items, "test"); $filter("name")(items, {name: "test"}); $filter("name")(items, (val, index, array) => { - return array; + return true; }); $filter("name")(items, (val, index, array) => { - return array; + return true; }, (actual, expected) => { return actual == expected; });