commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1636048 - /commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java
Date Sat, 01 Nov 2014 20:55:55 GMT
Author: ggregory
Date: Sat Nov  1 20:55:54 2014
New Revision: 1636048

URL: http://svn.apache.org/r1636048
Log:
Port from deprecated JUnit method to assertArrayEquals.

Modified:
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java?rev=1636048&r1=1636047&r2=1636048&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java (original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/CommandLineTest.java Sat
Nov  1 20:55:54 2014
@@ -516,7 +516,7 @@ public class CommandLineTest {
 
         final CommandLine cmdl = new CommandLine(other);
         assertEquals(other.getExecutable(), cmdl.getExecutable());
-        assertEquals(other.getArguments(), cmdl.getArguments());
+        assertArrayEquals(other.getArguments(), cmdl.getArguments());
         assertEquals(other.isFile(), cmdl.isFile());
         assertEquals(other.getSubstitutionMap(), cmdl.getSubstitutionMap());
 



Mime
View raw message