aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/cacheFactorySpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/cacheFactorySpec.js')
-rw-r--r--test/ng/cacheFactorySpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ng/cacheFactorySpec.js b/test/ng/cacheFactorySpec.js
index ddfadbbc..4b15fd7b 100644
--- a/test/ng/cacheFactorySpec.js
+++ b/test/ng/cacheFactorySpec.js
@@ -15,7 +15,7 @@ describe('$cacheFactory', function() {
it('should complain if the cache id is being reused', inject(function($cacheFactory) {
$cacheFactory('cache1');
expect(function() { $cacheFactory('cache1'); }).
- toThrow('cacheId cache1 taken');
+ toThrow("[NgErr10] CacheId 'cache1' is already taken!");
}));