Add test for #214

This commit is contained in:
Matthias Mullie 2017-11-17 17:18:14 +01:00
parent 691f0cfe87
commit 55cf4ef257

View File

@ -1189,6 +1189,13 @@ a = \'b\';',
'if(last){for(i=1;i<3;i++);}else if(first){for(i in list);}else{while(this.rm(name,check,!1));}',
);
// https://github.com/matthiasmullie/minify/issues/214
$tests[] = array(
'/\/|\'/;
\'.ctd_panel_content .ctd_preview\';',
'/\/|\'/;\'.ctd_panel_content .ctd_preview\'',
);
// known minified files to help doublecheck changes in places not yet
// anticipated in these tests
$files = glob(__DIR__.'/sample/minified/*.js');