Skip to content

Commit 5d04259

Browse files
benharoldcaitp
authored andcommitted
docs($injector): fix syntax error
There was a missing parenthesis in $injector test example Closes angular#9469
1 parent f619d03 commit 5d04259

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/auto/injector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function annotate(fn) {
115115
* expect($injector.get('$injector')).toBe($injector);
116116
* expect($injector.invoke(function($injector){
117117
* return $injector;
118-
* }).toBe($injector);
118+
* })).toBe($injector);
119119
* ```
120120
*
121121
* # Injection Function Annotation

0 commit comments

Comments
 (0)