me
/
guix
Archived
1
0
Fork 0

gnu: ocaml-mdx: Fix tests.

* gnu/packages/ocaml.scm (ocaml-mdx)[arguments]: Substitue obsolete 'egrep' by
'grep -E'.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
master
Simon Tournier 2023-04-12 19:09:40 +02:00 committed by Julien Lepiller
parent 8557eb9ffb
commit a957171bc4
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 6 additions and 1 deletions

View File

@ -9230,7 +9230,12 @@ variants.")
"test/bin/mdx-test/misc/no-such-prelude/test.expected")
(("`") "'")
(("COMMAND") "[COMMAND]")
(("\\.\\.\\.") "…")))))))
(("\\.\\.\\.") "…"))))
(add-after 'fix-test-format 'fix-egrep
(lambda _
;; egrep is obsolescent; using grep -E
(substitute* "test/bin/mdx-test/expect/padding/test-case.md"
(("egrep") "grep -E")))))))
(propagated-inputs
(list ocaml-fmt
ocaml-astring