diff options
author | Eric Wong <e@yhbt.net> | 2020-04-26 07:32:45 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-26 07:32:45 +0000 |
commit | 6e472b959b6e4391ca902ad23d73e90c220f2da5 (patch) | |
tree | 8f0a9fddacb5f7895c371501f885392051e28f1a | |
parent | aa454143b1f26ffdf5f32f17c2032473d70eceae (diff) | |
download | public-inbox-6e472b959b6e4391ca902ad23d73e90c220f2da5.tar.gz |
We don't need the callback arg, anymore.
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index 27390ab2..cd73b5b6 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -12,7 +12,7 @@ our @EXPORT = qw(tmpdir tcp_server tcp_connect require_git require_mods run_script start_script key2sub xsys xqx mime_load); sub mime_load ($) { - my ($path, $cb) = @_; + my ($path) = @_; open(my $fh, '<', $path) or die "open $path: $!"; PublicInbox::MIME->new(\(do { local $/; <$fh> })); } |