File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1616 testing . expectEqual ( 'https://lightpanda.io' , link . origin ) ;
1717
1818 link . host = 'lightpanda.io:443' ;
19- testing . expectEqual ( 'lightpanda.io:443 ' , link . host ) ;
20- testing . expectEqual ( '443 ' , link . port ) ;
19+ testing . expectEqual ( 'lightpanda.io' , link . host ) ;
20+ testing . expectEqual ( '' , link . port ) ;
2121 testing . expectEqual ( 'lightpanda.io' , link . hostname ) ;
2222
2323 link . host = 'lightpanda.io' ;
4242
4343 testing . expectEqual ( '' , link . port ) ;
4444 link . port = '443' ;
45- testing . expectEqual ( 'foo.bar:443 ' , link . host ) ;
45+ testing . expectEqual ( 'foo.bar' , link . host ) ;
4646 testing . expectEqual ( 'foo.bar' , link . hostname ) ;
47- testing . expectEqual ( 'https://foo.bar:443 /?q=bar#frag' , link . href ) ;
47+ testing . expectEqual ( 'https://foo.bar/?q=bar#frag' , link . href ) ;
4848 link . port = null ;
4949 testing . expectEqual ( 'https://foo.bar/?q=bar#frag' , link . href ) ;
5050
You can’t perform that action at this time.
0 commit comments