aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMisko Hevery2011-02-18 13:19:59 -0800
committerMisko Hevery2011-02-18 14:02:21 -0800
commitfd6e5e3f31f374de7be7c80acaa766a14cb753db (patch)
tree28b88246e0374daffd7fc38703f1b5851bc84ba6 /test
parent7d4aee31bb202e9b050fc15c56cfc33c46b9eaf5 (diff)
downloadangular.js-fd6e5e3f31f374de7be7c80acaa766a14cb753db.tar.bz2
replace smart-quotes with regular quotes
Diffstat (limited to 'test')
-rw-r--r--test/InjectorSpec.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/InjectorSpec.js b/test/InjectorSpec.js
index c876f188..e9a528cc 100644
--- a/test/InjectorSpec.js
+++ b/test/InjectorSpec.js
@@ -65,11 +65,15 @@ describe('injector', function(){
fn.$inject = ['a'];
expect(injectionArgs(fn)).toBe(fn.$inject);
expect(injectionArgs(function(){})).toEqual([]);
+ expect(injectionArgs(function (){})).toEqual([]);
+ expect(injectionArgs(function (){})).toEqual([]);
+ expect(injectionArgs(function /* */ (){})).toEqual([]);
});
it('should create $inject', function(){
// keep the multi-line to make sure we can handle it
- function $f_n0(
+ function $f_n0 /*
+ */(
$a, // x, <-- looks like an arg but it is a comment
b_, /* z, <-- looks like an arg but it is a
multi-line comment