Fix the tests to comply with the interface

This commit is contained in:
Eugen Podaru
2015-09-28 15:30:05 +02:00
parent 8b88d55ef1
commit 492c22b176

View File

@@ -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;
});