fixed more ie test failures

This commit is contained in:
Misko Hevery 2010-10-20 23:51:49 -07:00
parent 05d4971abb
commit aaabeb8c5e

View file

@ -580,9 +580,9 @@ describe("service", function(){
expect(match[1]).toEqual('file'); expect(match[1]).toEqual('file');
expect(match[3]).toEqual(''); expect(match[3]).toEqual('');
expect(match[5]).toEqual(null); expect(match[5]).toBeFalsy();
expect(match[6]).toEqual('/Users/Shared/misko/work/angular.js/scenario/widgets.html'); expect(match[6]).toEqual('/Users/Shared/misko/work/angular.js/scenario/widgets.html');
expect(match[8]).not.toBeDefined(); expect(match[8]).toBeFalsy();
}); });
it('should parse url with "-" in host', function(){ it('should parse url with "-" in host', function(){
@ -590,9 +590,9 @@ describe("service", function(){
expect(match[1]).toEqual('http'); expect(match[1]).toEqual('http');
expect(match[3]).toEqual('a-b1.c-d.09'); expect(match[3]).toEqual('a-b1.c-d.09');
expect(match[5]).toEqual(null); expect(match[5]).toBeFalsy();
expect(match[6]).toEqual('/path'); expect(match[6]).toEqual('/path');
expect(match[8]).not.toBeDefined(); expect(match[8]).toBeFalsy();
}); });
it('should parse host without "/" at the end', function() { it('should parse host without "/" at the end', function() {