guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/09: gnu: ruby-netrc: All phases return #t.


From: guix-commits
Subject: 05/09: gnu: ruby-netrc: All phases return #t.
Date: Fri, 31 Jul 2020 13:40:20 -0400 (EDT)

mhw pushed a commit to branch master
in repository guix.

commit b23c1f50a5b9cf9bccc0aacf01990faf47daf3f2
Author: Mark H Weaver <mhw@netris.org>
AuthorDate: Sun Jul 19 23:14:33 2020 -0400

    gnu: ruby-netrc: All phases return #t.
    
    * gnu/packages/ruby.scm (ruby-netrc): In check phase, use for-each
    instead of map, and return #t.
---
 gnu/packages/ruby.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6c0d57e..93fcc6d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6430,9 +6430,10 @@ other things and it comes with a command line 
interface.")
            ;; There is no Rakefile and minitest can only run one file at once,
            ;; so we have to iterate over all test files.
            (lambda _
-             (map (lambda (file)
-                    (invoke "ruby" "-Itest" file))
-                  (find-files "./test" "test_.*\\.rb")))))))
+             (for-each (lambda (file)
+                         (invoke "ruby" "-Itest" file))
+                       (find-files "./test" "test_.*\\.rb"))
+             #t)))))
     (native-inputs
      `(("ruby-minitest" ,ruby-minitest)))
     (synopsis "Library to read and update netrc files")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]