Changeset 22442 for t

Show
Ignore:
Timestamp:
09/28/08 16:32:29 (2 months ago)
Author:
s1n
Message:

[t/spec] added a few more invalid radix notation tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S02-literals/radix.t

    r22440 r22442  
    22use Test; 
    33 
    4 plan 190; 
     4plan 194; 
    55 
    66# L<S02/Literals/":10<42>"> 
     
    243243    is +":2<_01>", 0, "underscore seperator misuse parsefail works (2)"; 
    244244    is +":2<01_>", 0, "underscore seperator misuse parsefail works (3)"; 
     245    is +":_2_<_0_1_>_", 0, "underscore seperator misuse parsefail works (4)"; 
    245246    is +":2<1.3>", 0, "invalid radix conversion alphabet parsefail works"; 
     247    is +"0b1.1e10", 0, "ambiguious scientific notation parsefail works"; 
     248    is +":2<10dlk", 0, "missing closing angle bracket"; 
     249    is +":2lks01>", 0, "completely invalid radix notation"; 
    246250} 
    247251