This file is indexed.

/usr/share/perl5/auto/share/dist/Dancer2/skel/t/002_index_route.t is in libdancer2-perl 0.204002+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
use strict;
use warnings;

use [d2% appname %2d];
use Test::More tests => 2;
use Plack::Test;
use HTTP::Request::Common;

my $app = [d2% appname %2d]->to_app;
is( ref $app, 'CODE', 'Got app' );

my $test = Plack::Test->create($app);
my $res  = $test->request( GET '/' );

ok( $res->is_success, '[GET /] successful' );