- Timestamp:
- 10/01/08 16:03:55 (2 months ago)
- Files:
-
- 1 modified
-
t/spec/S02-builtin_data_types/bool.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S02-builtin_data_types/bool.t
r22285 r22472 4 4 5 5 6 # XXX unspecced but implicit - needs validation6 # L<S12/Enums/"Two built-in enums are"> 7 7 8 plan 18;8 plan 20; 9 9 10 10 # tests True and False are Bool's … … 46 46 is(+Bool::True, '1', 'True numifies to 1'); 47 47 is(+Bool::False, '0', 'False numifies to 0'); 48 # stringification 49 is(~Bool::True, '1', 'True stringifies to 1'); 50 is(~Bool::False, '0', 'False stringifies to 0');
