Skip to content

Commit 4078df4

Browse files
Merge pull request #596 from jfgreffier/fix/449
Add unit test reproducing #449
2 parents 5485258 + 95ee8d3 commit 4078df4

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)