aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/locationSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/locationSpec.js')
-rw-r--r--test/ng/locationSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js
index 4df6eb43..383783bb 100644
--- a/test/ng/locationSpec.js
+++ b/test/ng/locationSpec.js
@@ -341,7 +341,7 @@ describe('$location', function() {
it('should throw error when invalid hashbang prefix given', function() {
expect(function() {
url.$$parse('http://www.server.org:1234/base#/path');
- }).toThrow('[$location:nohash] Invalid url "http://www.server.org:1234/base#/path", missing hash prefix "#!".');
+ }).toThrow('[$location:ihshprfx] Invalid url "http://www.server.org:1234/base#/path", missing hash prefix "#!".');
});