aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgor Minar2013-08-12 13:27:46 -0700
committerIgor Minar2013-08-12 14:09:09 -0700
commit2c64f3dc176843f4b0d31ba026736ce6f6617f59 (patch)
tree94929ba571c23a0560cf5227b5bb907c776ccb51 /test
parent72dc48ea4d7e97c9dd3a9f469698ed77bcbdedbe (diff)
downloadangular.js-2c64f3dc176843f4b0d31ba026736ce6f6617f59.tar.bz2
docs(minErr): add location/isrcharg docs
Diffstat (limited to 'test')
-rw-r--r--test/ng/locationSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js
index 383783bb..e473a155 100644
--- a/test/ng/locationSpec.js
+++ b/test/ng/locationSpec.js
@@ -88,10 +88,10 @@ describe('$location', function() {
it('search() should throw error an incorrect argument', function() {
expect(function() {
url.search(null);
- }).toThrow('[$location:wpt] First parameter of function must be string or an object.');
+ }).toThrow('[$location:isrcharg] The first argument of the `$location#search()` call must be a string or an object.');
expect(function() {
url.search(undefined);
- }).toThrow('[$location:wpt] First parameter of function must be string or an object.');
+ }).toThrow('[$location:isrcharg] The first argument of the `$location#search()` call must be a string or an object.');
});