note
hippo
<p>Please provide a value each for $subpath and $target where <c>0 == index $subpath, "$target/"</c> is true and where $subpath does not start with $target.</p>
<code>
use strict;
use warnings;
use Test::More;
my @tests = (
{ subpath => 'foo/bar', target => 'bar' },
{ subpath => 'foo/bar', target => 'ba' },
{ subpath => 'foo/bar', target => 'oo' },
);
plan tests => scalar @tests;
for my $t (@tests) {
isnt index ($t->{subpath}, "$t->{target}/"), 0, "False, as expected"
}
</code>
<div class="pmsig"><div class="pmsig-885521">
<hr /><p>🦛
</p>
</div></div>
11149446
11149449