gnu: java-jnacl: Simplify build phase.

* gnu/packages/java.scm (java-jnacl)[arguments]: Simplify "fix-tests" phase.
This commit is contained in:
Ricardo Wurmus 2018-02-27 20:40:02 +01:00
parent e158642816
commit 8333c206a9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 3 deletions

View File

@ -7531,9 +7531,8 @@ to use.")
(modify-phases %standard-phases
(add-before 'build 'fix-tests
(lambda _
(substitute* "src/test/java/com/neilalexander/jnacl/NaClTest.java"
(("assertions.Assertions") "assertions.api.Assertions"))
(substitute* "src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java"
(substitute* '("src/test/java/com/neilalexander/jnacl/NaClTest.java"
"src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java")
(("assertions.Assertions") "assertions.api.Assertions"))
#t))
(replace 'check