snapshot before legacy cleanup

This commit is contained in:
Naeel
2026-04-27 07:36:06 +03:00
parent 9461026546
commit 7cfe20bf76
25 changed files with 1430 additions and 261 deletions
-9
View File
@@ -57,14 +57,6 @@ chk H03 php fail $'<?php\nfunction handler(array $ctx): array {\n $name = $ct
chk H04 php fail $'<?php\n$x = @@@;'
chk H05 php fail $'<?php\nfunction foo( { return 1; }'
echo ""
echo "=== PERL ==="
chk L01 perl ok 'sub handler { my ($env) = @_; return [200, [], ["ok"]]; }'
chk L02 perl ok 'sub handler { my ($e) = @_; my $name = "World"; return [200, ["Content-Type", "text/plain"], [$name]]; }'
chk L03 perl fail $'sub handler { my $e = @_\n return [200]; }'
chk L04 perl fail 'sub handler { my ($e) = @_; return [200,, []]; }'
chk L05 perl fail 'sub handler { ('
echo ""
echo "=== GO ==="
chk G01 go ok $'package main\nimport "net/http"\nfunc Handler(w http.ResponseWriter, r *http.Request) {}'
@@ -79,7 +71,6 @@ chk E01 nodejs fail ''
chk E02 python fail 'asd @@@'
chk E03 ruby fail 'def foo(;;; end'
chk E04 php fail '<?php echo @@@'
chk E05 perl fail '@@@'
echo ""
echo "========================"