Changeset 22880 for t

Show
Ignore:
Timestamp:
11/04/08 20:12:29 (2 months ago)
Author:
jnthn
Message:

[spectest] Unfudge an enum test that we can now pass in Rakudo.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S12-enums/basic.t

    r22867 r22880  
    1515} 
    1616 
    17 #?rakudo skip 'infix:<but>' 
    1817{ 
    1918    my $x = 'Today' but Day::Mon; 
     19    #?rakudo 2 skip '.does missing' 
    2020    ok $x.does(Day),      'Can test with .does() for enum type'; 
    2121    ok $x.does(Day::Mon), 'Can test with .does() for enum value'; 
    2222    ok $x ~~ Day,         'Can smartmatch for enum type'; 
     23    #?rakudo 1 skip 'ACCEPTS missing for enum values' 
    2324    ok $x ~~ Day::Mon,    'Can Smartmatch for enum value'; 
    2425}