This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a commit to branch IMPROVE_TESTS in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git
The following commit(s) were added to refs/heads/IMPROVE_TESTS by this push: new f31d83a Add debugging. f31d83a is described below commit f31d83a7b87d304755f7e0c59fff4bf07fb666b9 Author: Karl Heinz Marbaise <khmarba...@apache.org> AuthorDate: Sat Nov 10 20:54:28 2018 +0100 Add debugging. --- .../apache/maven/plugins/enforcer/TestRequireEnvironmentVariable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireEnvironmentVariable.java b/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireEnvironmentVariable.java index e2283ed..4410bbc 100755 --- a/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireEnvironmentVariable.java +++ b/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireEnvironmentVariable.java @@ -123,7 +123,7 @@ public class TestRequireEnvironmentVariable } catch ( EnforcerRuleException e ) { - fail( "This should not throw an exception " + e.getMessage() ); + fail( "This should not throw an exception " + e.getMessage() + " cause:" + e.getCause() ); } } @@ -149,7 +149,7 @@ public class TestRequireEnvironmentVariable } catch ( EnforcerRuleException e ) { - fail( "This should not throw an exception " + e.getMessage() ); + fail( "This should not throw an exception " + e.getMessage() + " cause:" + e.getCause() ); } } }