Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for bare await
  • Loading branch information
lizmat committed May 28, 2015
1 parent 5844f9c commit 5df1265
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S17-promise/start.t
@@ -1,7 +1,9 @@
use v6;
use Test;

plan 16;
plan 17;

throws_like { await }, X::AdHoc, "a bare await should not work";

{
my $p = Promise.start({
Expand Down

0 comments on commit 5df1265

Please sign in to comment.