3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
Mark H Weaver 2020-07-19 23:14:33 -04:00
parent 2bc733e271
commit b23c1f50a5
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -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")