summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/superuser--split-transactions.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--split-transactions.t b/t/superuser--split-transactions.t
index 48ef825e..75fdd517 100644
--- a/t/superuser--split-transactions.t
+++ b/t/superuser--split-transactions.t
@@ -43,5 +43,5 @@ sub test_urpmi {
$s =~ s/^SECURITY.*//gm;
$s =~ s/^\n//gm;
- ok($s eq $wanted_a || $s eq $wanted_b, "$wanted_a in $s");
+ ok(member($s, $wanted_a, $wanted_b), "$wanted_a in $s");
}