Debian Codegraph @

t/14stages-post_newcv.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::stages";
10
11 BEGIN { $^H{"t::stages/permit"} = 1; }
12
13 {
14 BEGIN { $^H{'t::stages/post_newcv-capture-cv'} = 1; }
15
16 stages capture { }
17
18 is( $t::stages::captured, \&capture,
19 'captured value of new CV' );
20 }
21
22 done_testing;