From d69cd7d9ca124baea2c116b7db28468f60ad7fea Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 12 Aug 2013 14:43:16 -0700 Subject: test($location): fix broken tests sorry, my bad! --- test/ng/locationSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ng/locationSpec.js') diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js index e473a155..a07b516b 100644 --- a/test/ng/locationSpec.js +++ b/test/ng/locationSpec.js @@ -219,7 +219,7 @@ describe('$location', function() { expect(function() { url.$$parse('http://other.server.org/path#/path'); - }).toThrow('[$location:nopp] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".'); + }).toThrow('[$location:ipthprfx] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".'); }); @@ -228,7 +228,7 @@ describe('$location', function() { expect(function() { url.$$parse('http://server.org/path#/path'); - }).toThrow('[$location:nopp] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".'); + }).toThrow('[$location:ipthprfx] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".'); }); -- cgit v1.2.3