From 2c64f3dc176843f4b0d31ba026736ce6f6617f59 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 12 Aug 2013 13:27:46 -0700 Subject: docs(minErr): add location/isrcharg docs --- test/ng/locationSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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.'); }); -- cgit v1.2.3