Convert to Dist::Zilla
[p5sagit/namespace-clean.git] / t / 08-const-sub.t
CommitLineData
226432f6 1use strict;
2use warnings;
3
04312494 4use Test::More 0.88;
226432f6 5
6use constant CONST => 123;
7use namespace::clean;
8
9my $x = CONST;
10is $x, 123;
11
12ok eval("!defined(&CONST)");
13
14done_testing;