Add test for "base" version.
This commit is contained in:
parent
f250c08ee5
commit
785fb57dc1
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
(Section 'version)
|
(Section 'version)
|
||||||
|
|
||||||
(require version/utils)
|
(require version/utils pkg/lib setup/getinfo)
|
||||||
|
|
||||||
;; sanity check
|
;; sanity check
|
||||||
(unless (and (< (string->number (car (regexp-match #rx"^[0-9]+" (version)))) 49)
|
(unless (and (< (string->number (car (regexp-match #rx"^[0-9]+" (version)))) 49)
|
||||||
|
@ -63,4 +63,6 @@
|
||||||
["00" #f]
|
["00" #f]
|
||||||
))
|
))
|
||||||
|
|
||||||
|
(test (version) (get-info/full (pkg-directory "base")) 'version)
|
||||||
|
|
||||||
(report-errs)
|
(report-errs)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user