diff --git a/t/tools/show_deprecated.t b/t/tools/show_deprecated.t
index cc762d2..5e515d4 100644
|
a
|
b
|
|
| 24 | 24 | |
| 25 | 25 | use Test::More; |
| 26 | 26 | use File::Spec::Functions; |
| 27 | | use YAML qw/LoadFile/; |
| | 27 | |
| | 28 | eval {require YAML; YAML->import('LoadFile')}; |
| | 29 | if ($@) { |
| | 30 | plan(skip_all => "YAML.pm required for this test."); |
| | 31 | } |
| | 32 | |
| | 33 | # List::MoreUtils.pm is also used by show_deprecated.pl |
| | 34 | eval {require List::MoreUtils; List::MoreUtils->import('any')}; |
| | 35 | if ($@) { |
| | 36 | plan(skip_all => "List::MoreUtils.pm required for this test."); |
| | 37 | } |
| 28 | 38 | |
| 29 | 39 | plan tests => 1; |
| 30 | 40 | |
diff --git a/t/tools/show_experimental.t b/t/tools/show_experimental.t
index 1352878..885d35f 100644
|
a
|
b
|
|
| 24 | 24 | |
| 25 | 25 | use Test::More; |
| 26 | 26 | use File::Spec::Functions; |
| 27 | | use YAML qw/LoadFile/; |
| | 27 | |
| | 28 | eval {require YAML; YAML->import('LoadFile')}; |
| | 29 | if ($@) { |
| | 30 | plan(skip_all => "YAML.pm required for this test."); |
| | 31 | } |
| | 32 | |
| | 33 | # List::MoreUtils.pm is also used by show_deprecated.pl |
| | 34 | eval {require List::MoreUtils; List::MoreUtils->import('any')}; |
| | 35 | if ($@) { |
| | 36 | plan(skip_all => "List::MoreUtils.pm required for this test."); |
| | 37 | } |
| 28 | 38 | |
| 29 | 39 | plan tests => 1; |
| 30 | 40 | |