Skip to content

Commit

Permalink
Check basename so I don't deal with windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Feb 29, 2024
1 parent b778d0b commit 66d9669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/get_data.t
Expand Up @@ -30,7 +30,7 @@ subtest 'ISBN_RANGE_MESSAGE does not exist' => sub {
my %data = Business::ISBN::Data->_get_data();
diag( "There should be no more warnings" );
ok exists $data{'_source'}, '_source exists in hash';
like $data{'_source'}, qr|lib/Business/ISBN/RangeMessage.xml\z|, '_source is distributed file';
is basename($data{'_source'}), 'RangeMessage.xml', '_source is distributed file';
};

done_testing();

0 comments on commit 66d9669

Please sign in to comment.