Explorar o código

remove unneeded case the behaves differently on different platforms

Garrett Johnson %!s(int64=5) %!d(string=hai) anos
pai
achega
de3d3b3b3c
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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.', () => {