Skip to content

Commit 95ee8d3

Browse files
committed
Add unit test reproducing #449
1 parent 67f6dab commit 95ee8d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/function-type.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ var invalid = [];
1616
valid.push({
1717
code: '_.filter(vm.global, function (n) { return n % 2 === 0; })',
1818
options: ['anonymous']
19+
}, {
20+
code: '_.filter(vm.global, function (n) { return n % 2 === 0; })',
21+
options: ['named']
22+
}, {
23+
code: '_.filter(local, function (n) { return n % 2 === 0; })',
24+
options: ['named']
1925
}, {
2026
code: 'angular.module("mymodule.constants", []).constant("EMPTY", [])',
2127
options: ['anonymous']

0 commit comments

Comments
 (0)