[testng] 199/355: Fix #639

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:05 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 57f7028d2c35e71eb03a84bee61fc654f8c95042
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Wed Apr 22 21:28:10 2015 +0200

    Fix #639
---
 src/main/java/org/testng/TestNG.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/testng/TestNG.java b/src/main/java/org/testng/TestNG.java
index b1f991f..b84d81a 100644
--- a/src/main/java/org/testng/TestNG.java
+++ b/src/main/java/org/testng/TestNG.java
@@ -812,7 +812,7 @@ public class TestNG {
 
       for (XmlSuite s : m_cmdlineSuites) {
         for (XmlTest t : s.getTests()) {
-          t.setPreserveOrder(m_preserveOrder ? "true " : "false");
+          t.setPreserveOrder(String.valueOf(m_preserveOrder));
         }
         m_suites.add(s);
         if (m_groupByInstances != null) {

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