summaryrefslogtreecommitdiffstats
path: root/tests/002-rpmvercmp.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-11 08:05:33 +0100
committerRemi Collet <remi@remirepo.net>2020-03-11 08:05:33 +0100
commit9905176afd65cdbbf3f94bc3b16cf122e8993628 (patch)
tree60fe1bd83e4772d77273cb9d9e43cc7d3bf84a2f /tests/002-rpmvercmp.phpt
parent32f2f7845a056e87efcac102185e37404bc9c258 (diff)
more tests
Diffstat (limited to 'tests/002-rpmvercmp.phpt')
-rw-r--r--tests/002-rpmvercmp.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/002-rpmvercmp.phpt b/tests/002-rpmvercmp.phpt
index 4f1b051..2161ec4 100644
--- a/tests/002-rpmvercmp.phpt
+++ b/tests/002-rpmvercmp.phpt
@@ -20,6 +20,8 @@ $cases = [
['1-1', '1-2', -1],
['1.1-1', '1-1.1', 1],
['1.1-1~a', '1.1-1', -1],
+ ['1.2.3-4', '1.2.3p1-2', -1],
+ ['1.2.3-4', '1.2.3+a-2', -1],
];
$ok = true;
foreach ($cases as $case) {