summaryrefslogtreecommitdiff
path: root/tests/import-git.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/import-git.scm')
-rw-r--r--tests/import-git.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/import-git.scm b/tests/import-git.scm
index 20255dedb36..6dd8ad1649e 100644
--- a/tests/import-git.scm
+++ b/tests/import-git.scm
@@ -224,4 +224,13 @@
(let ((package (make-package directory "1.0.0")))
(latest-git-tag-version package))))
+(test-equal "latest-git-tag-version: prefix contains pre-release words"
+ "1.0.1"
+ (with-temporary-git-repository directory
+ '((add "a.txt" "A")
+ (commit "First commit")
+ (tag "libdevx-1.0.1" "Release 1.0.1"))
+ (let ((package (make-package directory "1.0.0")))
+ (latest-git-tag-version package))))
+
(test-end "git")