Skip to content

Commit e4d9ebd

Browse files
Restructure js test
1 parent 531fdee commit e4d9ebd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/JS/JSTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,12 @@ function someOtherFunction() {
12831283
file_get_contents(__DIR__ . '/sample/bugs/229/minified.js'),
12841284
);
12851285

1286+
// https://github.com/matthiasmullie/minify/issues/393
1287+
$tests[] = array(
1288+
__DIR__ . '/sample/bugs/393/Decrypt.js',
1289+
file_get_contents(__DIR__ . '/sample/bugs/393/Decrypt.min.js'),
1290+
);
1291+
12861292
// https://github.com/matthiasmullie/minify/issues/231
12871293
$tests[] = array(
12881294
'var x = (2 + 2) / 2; /// =2',
@@ -1385,12 +1391,6 @@ function someOtherFunction() {
13851391
}
13861392
}
13871393

1388-
// some other files that are minified correctly, ensure they stay like this
1389-
// https://github.com/matthiasmullie/minify/issues/393
1390-
$source = trim(file_get_contents(__DIR__ . '/sample/source/Decrypt.js'));
1391-
$minified = trim(file_get_contents(__DIR__ . '/sample/minified2/Decrypt.min.js'));
1392-
$tests[] = array($source, $minified);
1393-
13941394
return $tests;
13951395
}
13961396
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)