aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2023-12-25 13:42:12 -0800
committerArthur Zamarin <arthurzam@gentoo.org>2023-12-26 19:43:58 +0200
commitf9b39f8d7a18859450c6351ef77e72ef032621be (patch)
tree69b1f8d540d0e310c6c778f59eb64a6fa7573018 /tests
parentstart work on 0.12.25 (diff)
downloadpkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.tar.gz
pkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.tar.bz2
pkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.zip
Fix: parsing bug that allows a revision to be part of a package
The previous logic was just checking for a trailing version component; it wasn't checking for a trailing revision. Relates to issue: #419 Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ebuild/test_cpv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ebuild/test_cpv.py b/tests/ebuild/test_cpv.py
index e014d751d..1a778a936 100644
--- a/tests/ebuild/test_cpv.py
+++ b/tests/ebuild/test_cpv.py
@@ -52,6 +52,7 @@ class TestCPV:
"+dfa",
"timidity--9f",
"ormaybe---13_beta",
+ "bar-11-r3",
)
good_cp = (