diff options
Diffstat (limited to 't/03env.t')
-rw-r--r-- | t/03env.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/03env.t b/t/03env.t new file mode 100644 index 0000000..9644840 --- /dev/null +++ b/t/03env.t @@ -0,0 +1,14 @@ +# -*- perl -*- +use lib qw(t lib); +use strict; +use warnings; +use Test; +use TestHttpd; + +plan test => 3; + +my $x = new TestHttpd(environ => { MOCK_HTTPD_CATCH => 22 }); + +ok($x->name, 'Apache'); +ok($x->version, '2.4.6'); +ok($x->defines('MOCK_HTTPD_CATCH'), 22); |