Skip to content

Commit 2f88d4a

Browse files
committed
Randomize inconclusive results
1 parent a20b7ee commit 2f88d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/mech-test

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if ( $mech->status eq '200' ) {
3939
4040
my $answer;
4141
if ( $disordered == -1 ) {
42-
$answer = $minus;
42+
$answer = int rand $max + 1;
4343
}
4444
else {
4545
$answer = $inv eq '+' ? $plus : $minus;

0 commit comments

Comments
 (0)