@@ -77,16 +77,16 @@ describe("url", function() {
77
77
[ 1 , ".class { background: green url('') xyz }" , "" ]
78
78
] ) ;
79
79
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 }" , "" ]
81
81
] ) ;
82
82
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 }" , "" ]
84
84
] ) ;
85
85
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 }" , "" ]
87
87
] ) ;
88
88
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 }" , "" ]
90
90
] ) ;
91
91
test ( "external absolute url" , ".class { background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz }" , [
92
92
[ 1 , ".class { background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz }" , "" ]
0 commit comments