Skip to content

Commit

Permalink
[t/spec] moved test from S12-role/ to S14-roles/
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@27002 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
masak committed Jun 5, 2009
1 parent 2e76b69 commit 0093231
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 0 additions & 9 deletions S12-role/role-does-role.t

This file was deleted.

8 changes: 7 additions & 1 deletion S14-roles/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 30;
plan 31;

=begin description
Expand Down Expand Up @@ -86,4 +86,10 @@ lives_ok { HasC.new.x = DoesC.new },
lives_ok { HasC.new.x = undef },'typed attribute accepts things it should';
dies_ok { HasC.new.x = 42 }, 'typed attribute rejects things it should';

# Checking if role does role
role D {
}

ok D ~~ Role, 'a role does the Role type';

# vim: ft=perl6

0 comments on commit 0093231

Please sign in to comment.