Skip to content

Commit

Permalink
Change test from 'dies-ok' to 'throws-like'
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Jul 9, 2015
1 parent 0aa3fde commit f6a7dfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions S06-advanced/wrap.t
Expand Up @@ -164,8 +164,9 @@ sub functionB {
#?rakudo todo 'temp and wrap RT #124654'
is( functionB, 'xxx', "Wrap is now out of scope, should be back to normal." );

#?rakudo todo 'RT #70267: call to nextsame with nowhere to go'
dies-ok { {nextsame}() }, '{nextsame}() dies properly';
# RT #70267
# call to nextsame with nowhere to go
throws-like '{nextsame}()', X::NoDispatcher, '{nextsame}() dies properly';

# RT #66658
#?niecza skip "undefined undefined"
Expand Down

0 comments on commit f6a7dfb

Please sign in to comment.