Skip to content

Commit a2cd3d1

Browse files
Kodi ArferKodi Arfer
authored andcommitted
[bool.t] Removed two fudged tests that were contradicted by unfudged tests.
1 parent 9b43296 commit a2cd3d1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

S02-builtin_data_types/bool.t

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use v6;
22
use Test;
3-
plan 47;
3+
plan 45;
44

55
#L<S12/Enumerations/"Two built-in enumerations are">
66

@@ -46,6 +46,8 @@ isa_ok(~Bool::True, Str);
4646
isa_ok(~Bool::False, Str);
4747
is(~Bool::True, 'Bool::True', 'Bool stringification (True)');
4848
is(~Bool::False, 'Bool::False', 'Bool stringification (False)');
49+
is Bool::True.Str, 'Bool::True', 'True.Str';
50+
is Bool::False.Str, 'Bool::False', 'False.Str';
4951

5052

5153
# numification - interaction with +
@@ -55,12 +57,7 @@ is(+Bool::True, '1', 'True numifies to 1');
5557
isa_ok(+Bool::True, Int, 'True numifies to an Int');
5658
is(+Bool::False, '0', 'False numifies to 0');
5759
isa_ok(+Bool::False, Int, 'False numifies to an Int');
58-
# stringification
59-
#?rakudo 2 todo '~Bool'
60-
is(~Bool::True, 'True', 'True stringifies to True');
61-
is(~Bool::False, 'False', 'False stringifies to False');
62-
is Bool::True.Str, 'Bool::True', 'True.Str';
63-
is Bool::False.Str, 'Bool::False', 'False.Str';
60+
6461

6562
# Arithmetic operations
6663
my $bool = Bool::False;

0 commit comments

Comments
 (0)