@@ -77,16 +77,16 @@ describe("url", function() {
7777 [ 1 , ".class { background: green url('') xyz }" , "" ]
7878 ] ) ;
7979 test ( "empty url with spaces and quotes" , ".class { background: green url(' ') xyz }" , [
80- [ 1 , ".class { background: green url(' ') xyz }" , "" ]
80+ [ 1 , ".class { background: green url('') xyz }" , "" ]
8181 ] ) ;
8282 test ( "empty url with newline and quotes" , ".class { background: green url('\n') xyz }" , [
83- [ 1 , ".class { background: green url('\n ') xyz }" , "" ]
83+ [ 1 , ".class { background: green url('') xyz }" , "" ]
8484 ] ) ;
8585 test ( "empty url with CRLF and quotes" , ".class { background: green url('\r\n') xyz }" , [
86- [ 1 , ".class { background: green url('\r\n ') xyz }" , "" ]
86+ [ 1 , ".class { background: green url('') xyz }" , "" ]
8787 ] ) ;
8888 test ( "empty url with tab and quotes" , ".class { background: green url('\t') xyz }" , [
89- [ 1 , ".class { background: green url('\t ') xyz }" , "" ]
89+ [ 1 , ".class { background: green url('') xyz }" , "" ]
9090 ] ) ;
9191 test ( "external absolute url" , ".class { background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz }" , [
9292 [ 1 , ".class { background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz }" , "" ]
0 commit comments