Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't rely on an unreliable message.
  • Loading branch information
jnthn authored and coke committed Dec 25, 2015
1 parent 44d8d14 commit c5459b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-io/IO-Socket-Async.t
Expand Up @@ -9,7 +9,7 @@ my $port = 5000;
try {
my $sync = Promise.new;
IO::Socket::Async.listen('veryunlikelyhostname.bogus', $port).tap(quit => {
is $_.payload, 'Failed to resolve host name', 'Async listen on bogus hostname';
ok $_ ~~ Exception, 'Async listen on bogus hostname';
$sync.keep(1);
});
await $sync;
Expand Down

0 comments on commit c5459b7

Please sign in to comment.