Skip to content

Commit ab5f4a7

Browse files
committed
Add test case to reproduce the issue #393
1 parent fd56601 commit ab5f4a7

File tree

3 files changed

+817
-0
lines changed

3 files changed

+817
-0
lines changed

tests/js/JSTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,12 @@ function someOtherFunction() {
13451345
}
13461346
}
13471347

1348+
//some other files that are minified correctly, ensure they stay like this
1349+
$source = trim(file_get_contents(__DIR__.'/sample/source/Decrypt.js'));
1350+
$minified = trim(file_get_contents(__DIR__.'/sample/minified2/Decrypt.min.js'));
1351+
$tests[] = array($source, $minified);
1352+
1353+
13481354
return $tests;
13491355
}
13501356
}

tests/js/sample/minified2/Decrypt.min.js

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)