App-rshasum
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More tests => 1;
use Path::Tiny qw/ path tempdir tempfile cwd /;
use App::rshasum ();
{
local @ARGV = ( "--digest=SHA-256", "/" );
eval { App::rshasum->run(); };
my $err = $@;
my $needle =
qq#Leftover arguments "/" in the command line. (Did you intend to use --start-path ?)#;
# TEST
like( $err, qr#\A\Q$needle\E#, "right exception thrown" );
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.169 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )