mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
40d8a8c90f
commit
ef06671d8f
1 changed files with 3 additions and 2 deletions
|
@ -4490,8 +4490,9 @@ (define-public ruby-minitest-pretty-diff
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "sh" "script/test"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "sh" "script/test")))))))
|
||||
(native-inputs
|
||||
(list bundler ruby-turn))
|
||||
(synopsis "Pretty-print hashes and arrays in MiniTest")
|
||||
|
|
Loading…
Reference in a new issue