~ruther/guix-local

39c4563aeaa525e71328d1ec08ef568c8a124152 — Ludovic Courtès 11 years ago 457f60f
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.
2 files changed, 2 insertions(+), 2 deletions(-)

M guix/profiles.scm
M tests/profiles.scm
M guix/profiles.scm => guix/profiles.scm +1 -1
@@ 326,7 326,7 @@ replacement if PORT is not Unicode-capable."
              (lambda ()
                (display arrow)))))
        (lambda (key . args)
          ">")))))
          "->")))))

(define* (manifest-show-transaction store manifest transaction
                                    #:key dry-run?)

M tests/profiles.scm => tests/profiles.scm +1 -1
@@ 167,7 167,7 @@
                             (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 ()