summaryrefslogtreecommitdiffstats
path: root/tests/002-rpmvercmp.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-11 08:20:18 +0100
committerRemi Collet <remi@remirepo.net>2020-03-11 08:20:18 +0100
commitdbcd64307a27f4ad24a7f2e70d72a0537cf4e474 (patch)
tree2a7015326ba847205f2d50a082258c39b2fe1ff5 /tests/002-rpmvercmp.phpt
parent9905176afd65cdbbf3f94bc3b16cf122e8993628 (diff)
2 more testv0.2.2
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 2161ec4..7da40b4 100644
--- a/tests/002-rpmvercmp.phpt
+++ b/tests/002-rpmvercmp.phpt
@@ -8,6 +8,8 @@ $cases = [
['1.0', '1.1', -1],
['1.1', '1.0', 1],
['1.0', '1.0', 0],
+ ['1.0', '1', 1],
+ ['1', '1.1', -1],
['2.0.14-22.el7_0', '2.0.14.1-35.el7_6', -1],
['', '', 0],
['0:1', '1', 0],