Test-Expander/t/Test/Expander/require_ok.t
Jurij Fajnberg 717e9581ea first commit
2021-11-01 17:16:06 +01:00

18 lines
392 B
Perl

#!/usr/bin/env perl
use v5.14;
use warnings
FATAL => qw(all),
NONFATAL => qw(deprecated exec internal malloc newline once portable redefine recursion uninitialized);
use Test::Builder::Tester tests => 1;
use Test::Expander;
use constant CLASS => 't::Test::Expander::Boilerplate';
my $title = "require @{[CLASS]}";
test_out("ok 1 - $title;");
require_ok(CLASS);
test_test($title);