profiles: Use a real arrow to denote upgrades in ASCII.

Suggested by Alex Kost.

* guix/profiles.scm (right-arrow): Fall back to "->".
* tests/profiles.scm ("manifest-show-transaction"): Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2014-09-04 21:35:57 +02:00
parent 457f60fa06
commit 39c4563aea
2 changed files with 2 additions and 2 deletions

View file

@ -326,7 +326,7 @@ (define (right-arrow port)
(lambda ()
(display arrow)))))
(lambda (key . args)
">")))))
"->")))))
(define* (manifest-show-transaction store manifest transaction
#:key dry-run?)

View file

@ -167,7 +167,7 @@ (define glibc
(with-error-to-string
(lambda ()
(manifest-show-transaction store m t)))))
(string-match "guile\t1.8.8 > 2.0.9"
(string-match "guile\t1.8.8 -> 2.0.9"
(with-fluids ((%default-port-encoding "ISO-8859-1"))
(with-error-to-string
(lambda ()