summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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],