summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {