Skip to content

Commit ff11b6d

Browse files
committed
Correct [(^)] tests
- [(^)] $a, $b, $c is not the same as $a (^) $b (^) $c - follows rakudo/rakudo@0cdd6c25355f2a747a6 - and rakudo/rakudo@c57590fd0c46c3b2da1e5
1 parent 20c194f commit ff11b6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

S03-operators/bag.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ ok bag(my @large_arr = ("a"...*)[^50000]), "... a large array goes into a bar -
106106
isa-ok ([(^)] $s, $b), Bag, "... and produces a Bag";
107107
is showkv([(^)] $b, $s), 'blood:1 love:1 rhetoric:1', "... and is actually symmetric";
108108
isa-ok ([(^)] $b, $s), Bag, "... and still produces a Bag that way too";
109-
is showkv([(^)] $s, $ks, $kb), 'blood:1 love:1 rhetoric:1', "Bag symmetric difference reduce works on three bags";
109+
is showkv([(^)] $s, $ks, $kb), 'love:1 rhetoric:1', "Bag symmetric difference reduce works on three bags";
110110
isa-ok ([(^)] $s, $ks, $kb), Bag, "Bag symmetric difference reduce works on three bags";
111111
}
112112

S03-operators/mix.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ ok mix(my @large_arr = ("a"...*)[^50000]), "... a large array goes into a bar -
130130
isa-ok ([(^)] $b, $m), Mix, "... and produces a Mix";
131131
is ([(^)] $m, $b), %(blood => 0.1, love => 0.2, :rhetoric).Mix, "... and is actually symmetric";
132132
isa-ok ([(^)] $m, $b), Mix, "... and still produces a Mix that way too";
133-
is ([(^)] $b, $m, $mh), (blood => 1, love => 1.1, :rhetoric).Mix, "Mix symmetric difference reduce works on three mixes";
133+
is ([(^)] $b, $m, $mh), (love => 0.1, :rhetoric).Mix, "Mix symmetric difference reduce works on three mixes";
134134
isa-ok ([(^)] $b, $m, $mh), Mix, "Mix symmetric difference reduce works on three mixes produces a Mix";
135135
}
136136

0 commit comments

Comments
 (0)