diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-09-29 15:24:12 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-10-04 09:25:34 +0200 |
commit | abf47987cf0be9fda33eabd018e1adc5a87bc592 (patch) | |
tree | 3d77f09c77463f01a476b5aeebeac4a699d20a71 /t/superuser--split-transactions.t | |
parent | eab0b8fad2892d12aa3976678638db455a611e31 (diff) | |
download | urpmi-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/superuser--split-transactions.t')
-rw-r--r-- | t/superuser--split-transactions.t | 2 |
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"); } |