aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ui.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui.scm b/tests/ui.scm
index 3d5c3e7969..08ee3967a8 100644
--- a/tests/ui.scm
+++ b/tests/ui.scm
@@ -65,6 +65,23 @@ interface, and powerful string processing.")
10)
#\newline))
+(test-equal "package-specification->name+version+output"
+ '(("guile" #f "out")
+ ("guile" "2.0.9" "out")
+ ("guile" #f "debug")
+ ("guile" "2.0.9" "debug")
+ ("guile-cairo" "1.4.1" "out"))
+ (map (lambda (spec)
+ (call-with-values
+ (lambda ()
+ (package-specification->name+version+output spec))
+ list))
+ '("guile"
+ "guile-2.0.9"
+ "guile:debug"
+ "guile-2.0.9:debug"
+ "guile-cairo-1.4.1")))
+
(test-equal "integer"
'(1)
(string->generations "1"))
ref='/guix/commit/.mailmap?id=a7cdf124c0b28be6c4e750161c1341753eede7b8'>gnu: leocad: Update to 19.07.1....Eric Bavier 2019-05-03Correct email address for ison....ison 2019-03-18Correct name and email address for ng0....ng0 2019-01-21Update .mailmap....Mathieu Othacehe 2018-08-27Update email for Pierre Neidhardt....Pierre Neidhardt 2018-07-16mailmap: Add a line for Pierre-Antoine....Ludovic Courtès 2018-07-16mailmap: Add another line for myself....Nils Gillmann 2018-03-20Correct name and Email for ng0....ng0 2018-02-11mailmap: Adjust entries for ng0....ng0 2017-11-26Update e-mail for ng0....ng0 2017-10-03Update e-mail for Theodoros Foradis....Theodoros Foradis 2017-08-29Update e-mail for Kei Kebreau....Kei Kebreau 2017-08-13mailmap: fix entries for ng0....ng0 2017-06-16mailmap: Adjust entries for ng0....ng0 2017-06-03.mailmap: Add another alias for ng0....ng0 2017-05-23mailmap: Update entries for Adriano Peluso...Adriano Peluso 2017-05-22mailmap: Add an entry for Mathieu Othacehe....Mathieu Othacehe 2017-04-20mailmap: Update entries for ng0....ng0 2017-01-27Update .mailmap entries for ng0....ng0 2017-01-01Update .mailmap....Alex Kost 2016-12-20mailmap: Add alias for Marius Bakke....Marius Bakke 2016-11-26mailmap: Associate all commits by ng0 with ng0....ng0 2016-10-11Update e-mail address for ng0....ng0 2016-10-05Update e-mail address for ng0....ng0 2016-07-15Update e-mail address for Tobias Geerinckx-Rice....Andreas Enge 2016-07-03Update name for ng0....ng0 2016-05-19Update name for Kei Kebreau....Kei Kebreau 2016-05-04Update .mailmap....Alex Kost 2016-03-24Update .mailmap....Alex Kost 2015-08-11Add new entries to .mailmap....Alex Kost 2015-07-04Add '.mailmap'....Alex Kost