diff options
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/angular-inject.js | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/test/compress/angular-inject.js b/test/compress/angular-inject.js deleted file mode 100644 index 8b24c846..00000000 --- a/test/compress/angular-inject.js +++ /dev/null @@ -1,67 +0,0 @@ -ng_inject_defun: { - options = { - angular: true - }; - input: { - /*@ngInject*/ - function Controller(dependency) { - return dependency; - } - } - expect: { - function Controller(dependency) { - return dependency; - } - Controller.$inject=['dependency'] - } -} - -ng_inject_assignment: { - options = { - angular: true - }; - input: { - /*@ngInject*/ - var Controller = function(dependency) { - return dependency; - } - } - expect: { - var Controller = function(dependency) { - return dependency; - } - Controller.$inject=['dependency'] - } -} - -ng_inject_inline: { - options = { - angular: true - }; - input: { - angular.module('a'). - factory('b', - /*@ngInject*/ - function(dependency) { - return dependency; - }). - directive('c', - /*@ngInject*/ - function(anotherDependency) { - return anotherDependency; - }) - } - expect: { - angular.module('a'). - factory('b',[ - 'dependency', - function(dependency) { - return dependency; - }]). - directive('c',[ - 'anotherDependency', - function(anotherDependency) { - return anotherDependency; - }]) - } -} |