Skip to content

Commit

Permalink
attempting to create Proc::Async with wrong arguments throws
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 26, 2016
1 parent 8e1a1cc commit 34b31b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S17-procasync/basic.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 31;
plan 32;

my $pc = $*DISTRO.is-win
?? Proc::Async.new( 'cmd', </c echo Hello World> )
Expand Down Expand Up @@ -88,3 +88,6 @@ is $stderr, '', 'got correct STDERR';
[$*EXECUTABLE, "-e", "exit"],
'Proc returned from .start has correct .command';
}

throws-like { Proc::Async.new }, X::Multi::NoMatch,
'attempting to create Proc::Async with wrong arguments throws';

0 comments on commit 34b31b2

Please sign in to comment.