fix parens and use eq_array
[p5sagit/Data-Dumper-Concise.git] / t / dwarn_only.t
CommitLineData
d776e434 1use strict;
2use warnings FATAL => 'all';
3use Test::More qw(no_plan);
4
5use Devel::Dwarn qw(Dwarn_only DwarnS_only);
6
7warn Dwarn_only { $_[0] } qw(one two three);
8
9warn DwarnS_only { $_->[0] } [ qw(one two three) ];