diff options
| author | Igor Minar | 2013-08-12 10:56:36 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-12 14:09:08 -0700 | 
| commit | 544d2616b429e5059a1ff117c483102b7495b992 (patch) | |
| tree | c58626aa7b056d67dff3f4c0488eba49fed57ad6 /test | |
| parent | d4d34aba6efbd98050235f5b264899bb788117df (diff) | |
| download | angular.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.js | 7 | 
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'); | 
