diff options
Diffstat (limited to 'test/loaderSpec.js')
| -rw-r--r-- | test/loaderSpec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/loaderSpec.js b/test/loaderSpec.js index ce98c50a..73e94215 100644 --- a/test/loaderSpec.js +++ b/test/loaderSpec.js @@ -68,6 +68,8 @@ 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 or forgot to load it."); + }).toThrow("[$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."); }); }); |
