Skip to content

Commit d69cd7d

Browse files
committed
test($location): fix broken tests
sorry, my bad!
1 parent ca92b65 commit d69cd7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/ng/locationSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('$location', function() {
219219

220220
expect(function() {
221221
url.$$parse('http://other.server.org/path#/path');
222-
}).toThrow('[$location:nopp] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".');
222+
}).toThrow('[$location:ipthprfx] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".');
223223
});
224224

225225

@@ -228,7 +228,7 @@ describe('$location', function() {
228228

229229
expect(function() {
230230
url.$$parse('http://server.org/path#/path');
231-
}).toThrow('[$location:nopp] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".');
231+
}).toThrow('[$location:ipthprfx] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".');
232232
});
233233

234234

0 commit comments

Comments
 (0)