The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!perl
use strict;
use lib 'test-data/lib', 't/lib';
use Path::Tiny qw( path );
use TestHelper qw( doc );
use Test::More import => [qw( done_testing is )];
my $filename = 'test-data/via-sub-exporter-exception.pl';
my ($doc) = doc(
filename => $filename,
preserve_unused => 0,
);
is( $doc->tidied_document, path($filename)->slurp, 'doc has not changed' );
done_testing();