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
1 changed files with 4 additions and 3 deletions

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