Browse Source

remove unneeded case the behaves differently on different platforms

Garrett Johnson 5 năm trước cách đây
mục cha
commit
de3d3b3b3c
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      test/urlJoin.test.js

+ 0 - 4
test/urlJoin.test.js

@@ -12,10 +12,6 @@ describe( 'urlJoin', () => {
 			urlJoin( 'path//', 'to/other/', 'file.json' )
 		).toBe( 'path/to/other/file.json' );
 
-		expect(
-			urlJoin( '//path', 'to', 'file.json' )
-		).toBe( '//path/to/file.json' );
-
 	} );
 
 	it( 'should handle protocols correctly.', () => {