diff options
Diffstat (limited to 'debian/perl-framework/t/php/switch3.t')
-rw-r--r-- | debian/perl-framework/t/php/switch3.t | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/perl-framework/t/php/switch3.t b/debian/perl-framework/t/php/switch3.t new file mode 100644 index 0000000..767b0d9 --- /dev/null +++ b/debian/perl-framework/t/php/switch3.t @@ -0,0 +1,22 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = <<EXPECT; +i=0 +In branch 0 +i=1 +In branch 1 +i=2 +In branch 2 +i=3 +In branch 3 +hi +EXPECT + +my $result = GET_BODY "/php/switch3.php"; +ok $result eq $expected; |