diff options
Diffstat (limited to 'test/loaderSpec.js')
| -rw-r--r-- | test/loaderSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/loaderSpec.js b/test/loaderSpec.js index 73e94215..302852cb 100644 --- a/test/loaderSpec.js +++ b/test/loaderSpec.js @@ -68,7 +68,7 @@ describe('module loader', function() { it('should complain of no module', function() { expect(function() { window.angular.module('dontExist'); - }).toThrow("[$injector:nomod] Module 'dontExist' is not available! You either misspelled the module name " + + }).toThrowMinErr("$injector", "nomod", "Module 'dontExist' is not available! You either misspelled the module name " + "or forgot to load it. If registering a module ensure that you specify the dependencies as the second " + "argument."); }); |
