Skip to content

Commit

Permalink
[coverage] cover .gist of Attribute:D
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 22, 2016
1 parent dbb376e commit 1458b47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S12-introspection/attributes.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 30;
plan 31;

=begin pod
Expand Down Expand Up @@ -72,4 +72,10 @@ is @attrs[0].name, '$!c', 'get correct attribute with introspection';

}

{ # coverage; 2016-09-21
like Attribute.new(:name('test-name'), :type(Int), :package('Foo')).gist,
/'Int' .* 'test-name' | 'test-name' .* 'Int'/,
'.gist of an Attribute includes name and type';
}

# vim: ft=perl6

0 comments on commit 1458b47

Please sign in to comment.