File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -1545,6 +1545,20 @@ pub fn test_compare() {
15451545    relative_from:  Some ( "" ) 
15461546    ) ; 
15471547
1548+     tc ! ( "foo//" ,  "foo" , 
1549+     eq:  true , 
1550+     starts_with:  true , 
1551+     ends_with:  true , 
1552+     relative_from:  Some ( "" ) 
1553+     ) ; 
1554+ 
1555+     tc ! ( "foo///" ,  "foo" , 
1556+     eq:  true , 
1557+     starts_with:  true , 
1558+     ends_with:  true , 
1559+     relative_from:  Some ( "" ) 
1560+     ) ; 
1561+ 
15481562    tc ! ( "foo/." ,  "foo" , 
15491563    eq:  true , 
15501564    starts_with:  true , 
@@ -1559,6 +1573,20 @@ pub fn test_compare() {
15591573    relative_from:  Some ( "" ) 
15601574    ) ; 
15611575
1576+     tc ! ( "foo/.//bar" ,  "foo/bar" , 
1577+     eq:  true , 
1578+     starts_with:  true , 
1579+     ends_with:  true , 
1580+     relative_from:  Some ( "" ) 
1581+     ) ; 
1582+ 
1583+     tc ! ( "foo//./bar" ,  "foo/bar" , 
1584+     eq:  true , 
1585+     starts_with:  true , 
1586+     ends_with:  true , 
1587+     relative_from:  Some ( "" ) 
1588+     ) ; 
1589+ 
15621590    tc ! ( "foo/bar" ,  "foo" , 
15631591    eq:  false , 
15641592    starts_with:  true , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments