| 1 | package Dist::Zilla::Plugin::NoTabsTests; | ||
| 2 | # ABSTRACT: (DEPRECATED) Release tests making sure hard tabs aren't used | ||
| 3 | |||
| 4 | our $VERSION = '0.15'; | ||
| 5 | |||
| 6 | use Moose; | ||
| 7 | extends 'Dist::Zilla::Plugin::Test::NoTabs'; | ||
| 8 | |||
| 9 | use namespace::autoclean; | ||
| 10 | |||
| 11 | before register_component => sub { | ||
| 12 | warnings::warnif('deprecated', | ||
| 13 | "!!! [NoTabsTests] is deprecated and will be removed in a future release; replace it with [Test::NoTabs]\n", | ||
| 14 | ); | ||
| 15 | }; | ||
| 16 | |||
| 17 | has '+filename' => ( | ||
| 18 | default => sub { return 'xt/release/no-tabs.t' }, | ||
| 19 | ); | ||
| 20 | |||
| 21 | __PACKAGE__->meta->make_immutable; | ||
| 22 | |||
| 23 | __END__ |