Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT #125257
  • Loading branch information
usev6 committed Jun 30, 2015
1 parent 10a658d commit 305ca31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S17-promise/basic.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 22;
plan 23;

{
my $p = Promise.new;
Expand Down Expand Up @@ -44,3 +44,8 @@ plan 22;

ok Promise.WHO{$vowname} :!exists, "the nested Vow class is lexically scoped";
}

# RT #125257
{
throws-like 'await', Exception, 'bare "await" dies';
}

0 comments on commit 305ca31

Please sign in to comment.