[testng] 05/160: Resolved Issue #465

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


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

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

commit cf3d12f5e97b3097992651f357845fe0b7b9f814
Author: Michael Diamond <dimo414 at gmail.com>
Date:   Tue Jun 3 02:27:37 2014 -0400

    Resolved Issue #465
---
 src/main/java/org/testng/Assert.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/testng/Assert.java b/src/main/java/org/testng/Assert.java
index c945696..56778f2 100644
--- a/src/main/java/org/testng/Assert.java
+++ b/src/main/java/org/testng/Assert.java
@@ -534,7 +534,7 @@ public class Assert {
       }
     }
 
-    assertEquals(actual.size(), expected.size(), message + ": lists don't have the same size");
+    assertEquals(actual.size(), expected.size(), (message == null ? "" : message + ": ") + "lists don't have the same size");
 
     Iterator<?> actIt = actual.iterator();
     Iterator<?> expIt = expected.iterator();

-- 
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