mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-22 21:25:47 +00:00
test($location): fix broken tests
sorry, my bad!
This commit is contained in:
parent
ca92b6528a
commit
d69cd7d9ca
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ describe('$location', function() {
|
||||||
|
|
||||||
expect(function() {
|
expect(function() {
|
||||||
url.$$parse('http://other.server.org/path#/path');
|
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() {
|
expect(function() {
|
||||||
url.$$parse('http://server.org/path#/path');
|
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/".');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue