test($location): fix broken tests

sorry, my bad!
This commit is contained in:
Igor Minar 2013-08-12 14:43:16 -07:00
parent ca92b6528a
commit d69cd7d9ca

View file

@ -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/".');
});