Ditch done_testing - less Test::More upgrade-churn
[p5sagit/namespace-clean.git] / t / 08-const-sub.t
CommitLineData
226432f6 1use strict;
2use warnings;
3
39bc2d6e 4use Test::More tests => 2;
226432f6 5
6use constant CONST => 123;
7use namespace::clean;
8
9my $x = CONST;
10is $x, 123;
11
12ok eval("!defined(&CONST)");