diff options
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'); | 
