Author: britter
Date: Thu Jan 9 17:09:14 2014
New Revision: 1556882
URL: http://svn.apache.org/r1556882
Log:
We really want to do a null check here
Modified:
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilTest.java
Modified:
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilTest.java?rev=1556882&r1=1556881&r2=1556882&view=diff
==============================================================================
---
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilTest.java
(original)
+++
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/environment/EnvironmentUtilTest.java
Thu Jan 9 17:09:14 2014
@@ -40,7 +40,7 @@ public class EnvironmentUtilTest extends
*/
public void testToStrings() {
// check for a non-existing environment when passing null
- TestUtil.assertEquals(null, EnvironmentUtils.toStrings(null), false);
+ assertNull(EnvironmentUtils.toStrings(null));
// check for an environment when filling in two variables
final Map env = new HashMap();
TestUtil.assertEquals(new String[0], EnvironmentUtils.toStrings(env),
false);