mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-27 23:14:00 +00:00
fixed more ie test failures
This commit is contained in:
parent
05d4971abb
commit
aaabeb8c5e
1 changed files with 30 additions and 30 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue