mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 17:14:24 +02:00
Port last of min_unit_tests, remove references to it, add composer script
This commit is contained in:
24
tests/_test_files/js/regexes.js
Normal file
24
tests/_test_files/js/regexes.js
Normal file
@@ -0,0 +1,24 @@
|
||||
function testIssue74() {
|
||||
return /'/;
|
||||
}
|
||||
|
||||
!function(s) {
|
||||
return /^[£$€?.]/.test(s);
|
||||
}();
|
||||
|
||||
typeof
|
||||
/ ' /;
|
||||
|
||||
x = / [/] /;
|
||||
|
||||
1
|
||||
|
||||
/ foo;
|
||||
|
||||
(2)
|
||||
|
||||
/ foo;
|
||||
|
||||
function(){return/foo/};
|
||||
|
||||
function(){return typeof/foo/};
|
Reference in New Issue
Block a user