You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/05/17 06:53:12 UTC

[maven-javadoc-plugin] branch MJAVADOC-584 updated: assert argfile

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MJAVADOC-584
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git


The following commit(s) were added to refs/heads/MJAVADOC-584 by this push:
     new 65b1bbd  assert argfile
65b1bbd is described below

commit 65b1bbd80572cf60ee4aad3f45f0acdecd08c536
Author: rfscholte <rf...@apache.org>
AuthorDate: Mon May 17 08:52:58 2021 +0200

    assert argfile
---
 src/it/projects/examples/exclude-package-names/verify.groovy | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/it/projects/examples/exclude-package-names/verify.groovy b/src/it/projects/examples/exclude-package-names/verify.groovy
index 82d92ca..e3c6aa2 100644
--- a/src/it/projects/examples/exclude-package-names/verify.groovy
+++ b/src/it/projects/examples/exclude-package-names/verify.groovy
@@ -17,7 +17,8 @@
  * under the License.
  */
 
-File options = new File( basedir, 'target/site/apidocs/argfile' )
+File argfile = new File( basedir, 'target/site/apidocs/argfile' )
+assert argfile.exists() : new File( basedir, "build.log" ).getText()
 
-assert options.readLines().size() == 7
-assert options.readLines().count{it.endsWith("Include.java'")} == 7
+assert argfile.readLines().size() == 7
+assert argfile.readLines().count{it.endsWith("Include.java'")} == 7