Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Further RT #125376 tests.
  • Loading branch information
jnthn committed Jun 23, 2015
1 parent dbd7e0b commit d2eddcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S06-other/misc.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 10;
plan 12;

#not really much of a test (no links to the spec either). Please improve, I only wrote what was required! --lue

Expand Down Expand Up @@ -44,4 +44,7 @@ dies-ok { EVAL('a(3)') }, "this should die, no arguments defined";
{
throws-like 'my $rt125376 = Sub.new; say $rt125376', Exception,
'no Segfault when creating a Sub object with .new and trying to say it';
throws-like 'my $rt125376 = Sub.bless; say $rt125376', Exception,
'no Segfault when creating a Sub object with .bless and trying to say it';
throws-like 'Sub(0)', Exception, 'no Segfault when trying to invoke the Sub type object';
}

0 comments on commit d2eddcc

Please sign in to comment.