Jelajahi Sumber

remove unneeded case the behaves differently on different platforms

Garrett Johnson 5 tahun lalu
induk
melakukan
de3d3b3b3c
1 mengubah file dengan 0 tambahan dan 4 penghapusan
  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.', () => {