aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgor Minar2013-08-12 10:56:36 -0700
committerIgor Minar2013-08-12 14:09:08 -0700
commit544d2616b429e5059a1ff117c483102b7495b992 (patch)
treec58626aa7b056d67dff3f4c0488eba49fed57ad6 /test
parentd4d34aba6efbd98050235f5b264899bb788117df (diff)
downloadangular.js-544d2616b429e5059a1ff117c483102b7495b992.tar.bz2
chore($location): drop bugus error
we can never get to this state, so dropping the error
Diffstat (limited to 'test')
-rw-r--r--test/ng/locationSpec.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js
index 757ec16e..4df6eb43 100644
--- a/test/ng/locationSpec.js
+++ b/test/ng/locationSpec.js
@@ -338,13 +338,6 @@ describe('$location', function() {
});
- it('should throw error when invalid server url given', function() {
- expect(function() {
- url.$$parse('http://server.org/path#/path');
- }).toThrow('[$location:istart] Invalid url "http://server.org/path#/path", does not start with "http://www.server.org:1234/base".');
- });
-
-
it('should throw error when invalid hashbang prefix given', function() {
expect(function() {
url.$$parse('http://www.server.org:1234/base#/path');