Skip to content

Commit

Permalink
Update a test for latest stringification semantics.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 4, 2011
1 parent 6bb9d97 commit d417a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S12-class/lexical.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ eval_dies_ok '{ my class B {}; B.new; }; B.new',
ok $pint ~~ WeissBier, 'can smart-match against lexical class';
is $pint.name, 'Erdinger', 'attribute in lexical class works';
is $pint.describe, 'outstanding flavour', 'method call on lexical class works';
is WeissBier, 'WeissBier()', 'lexical type object stringifies correct';
is WeissBier.gist, 'WeissBier()', 'lexical type object stringifies correct';

my class LessThanAmazingWeissBier is WeissBier {
method describe() { 'tastes like sweetcorn' }
Expand Down

0 comments on commit d417a87

Please sign in to comment.