]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei_external.t
lei q: support --only, --include and --exclude
[public-inbox.git] / t / lei_external.t
index 1f0048a10ca654a6c85d2caf419daf04830e7a24..587990db53753adecc2461e061d5ce086fff28f2 100644 (file)
@@ -4,7 +4,7 @@ use v5.10.1;
 use Test::More;
 my $cls = 'PublicInbox::LeiExternal';
 require_ok $cls;
-my $canon = $cls->can('_canonicalize');
+my $canon = $cls->can('ext_canonicalize');
 my $exp = 'https://example.com/my-inbox/';
 is($canon->('https://example.com/my-inbox'), $exp, 'trailing slash added');
 is($canon->('https://example.com/my-inbox//'), $exp, 'trailing slash removed');