Debian Codegraph @

t/31prefix.t

raw
1 #!/usr/bin/perl
2
3 use v5.14;
4 use warnings;
5
6 use Test2::V0;
7
8 use lib "t";
9 use testcase "t::prefix";
10
11 BEGIN {
12 $^H{"t::prefix/func"}++;
13 $^H{"t::prefix/prefixed"}++;
14 }
15
16 our $LOG; BEGIN { $LOG = "" };
17
18 prefixed func example {
19 BEGIN { $LOG .= "B" }
20 }
21
22 is( $LOG, "SpSfEpEfBLfLpNpNf", 'stages run in correct order' );
23
24 done_testing;