From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
use Test::More tests => 3;
use FindBin '$Bin';
# Test the creation of an App::LinkSite object
my $linksite = App::LinkSite->new(file => 't/links.json');
isa_ok($linksite, 'App::LinkSite', 'Created an App::LinkSite object');
# Test the src method
is($linksite->src, "$Bin/../src", 'src method returns "src"');
# Test the out method
is($linksite->out, 'docs', 'out method returns "docs"');