| 1 | #!/usr/bin/env perl |
| 2 | |
| 3 | use strictscip-perl cpan Catmandu 1.2025 strict/; |
| 4 | use warningsscip-perl cpan Catmandu 1.2025 warnings/; |
| 5 | use Test::Morescip-perl cpan Catmandu 1.2025 Test/More/; |
| 6 | use Test::Exceptionscip-perl cpan Catmandu 1.2025 Test/Exception/; |
| 7 | |
| 8 | my $pkg; |
| 9 | |
| 10 | BEGIN { |
| 11 | $pkg = 'Catmandu::Fix::rename'; |
| 12 | use_okscip-perl cpan Catmandu 1.2025 main/use_ok(). $pkg; |
| 13 | } |
| 14 | |
| 15 | is_deeplyscip-perl cpan Catmandu 1.2025 main/is_deeply(). $pkg->newscip-perl cpan Catmandu 1.2025 main/new().('dots', '\.', '-') |
| 16 | ->fixscip-perl cpan Catmandu 1.2025 main/fix().({dots => {'a.b' => [{'c.d' => ""}]}}), |
| 17 | {dots => {'a-b' => [{'c-d' => ""}]}}; |
| 18 | |
| 19 | done_testing; |