[testng] 67/355: SoftAssert now uses the same auto-generated message used by Assert.

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:19:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 5bd1e02a14a684d6932ea114255c3b25e489791d
Author: Raghuram Devarakonda <raghu at catalogicsoftware.com>
Date:   Sun May 4 09:27:49 2014 -0400

    SoftAssert now uses the same auto-generated message used by Assert.
---
 src/main/java/org/testng/asserts/SoftAssert.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/testng/asserts/SoftAssert.java b/src/main/java/org/testng/asserts/SoftAssert.java
index c230314..f06f1d5 100644
--- a/src/main/java/org/testng/asserts/SoftAssert.java
+++ b/src/main/java/org/testng/asserts/SoftAssert.java
@@ -33,7 +33,7 @@ public class SoftAssert extends Assertion {
         } else {
           sb.append(", ");
         }
-        sb.append(ae.getValue().getMessage());
+        sb.append(ae.getKey().getMessage());
       }
       throw new AssertionError(sb.toString());
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list