summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-29 15:24:12 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-10-04 09:25:34 +0200
commitabf47987cf0be9fda33eabd018e1adc5a87bc592 (patch)
tree3d77f09c77463f01a476b5aeebeac4a699d20a71 /t
parenteab0b8fad2892d12aa3976678638db455a611e31 (diff)
downloadurpmi-abf47987cf0be9fda33eabd018e1adc5a87bc592.tar
urpmi-abf47987cf0be9fda33eabd018e1adc5a87bc592.tar.gz
urpmi-abf47987cf0be9fda33eabd018e1adc5a87bc592.tar.bz2
urpmi-abf47987cf0be9fda33eabd018e1adc5a87bc592.tar.xz
urpmi-abf47987cf0be9fda33eabd018e1adc5a87bc592.zip
simplify: use member()
(needed for next commit)
Diffstat (limited to 't')
-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");
}