diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ng/locationSpec.js | 4 |
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.'); }); |
