summaryrefslogtreecommitdiffhomepage
path: root/test/perl
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-04-02 19:20:11 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-04-02 19:20:11 +0300
commit151160c1103166810daddf1e9cc7135cb6ccc321 (patch)
treed3f30502076f82237bc9d335a7408c7b88d121a5 /test/perl
parent1583d659ab55bab88df0c69d29165e89a9612455 (diff)
downloadunit-151160c1103166810daddf1e9cc7135cb6ccc321.tar.gz
unit-151160c1103166810daddf1e9cc7135cb6ccc321.tar.bz2
Tests: Perl script with syntax error.
Diffstat (limited to 'test/perl')
-rw-r--r--test/perl/syntax_error/psgi.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/perl/syntax_error/psgi.pl b/test/perl/syntax_error/psgi.pl
new file mode 100644
index 00000000..2b6dbbea
--- /dev/null
+++ b/test/perl/syntax_error/psgi.pl
@@ -0,0 +1,5 @@
+my $app = sub {
+ my ($environ) = @_
+
+ return ['200', [], []];
+};