We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c8c60 commit 11a38d4Copy full SHA for 11a38d4
1 file changed
src/test/java/org/apache/commons/exec/TestUtil.java
@@ -35,10 +35,7 @@ public final class TestUtil {
35
* @return int array[2] = {ok, success}
36
*/
37
public static int[] getTestScriptCodesForOS() {
38
- if (OS.isFamilyWindows()) {
39
- return new int[] { 0, 1 };
40
- }
41
- if (OS.isFamilyUnix()) {
+ if (OS.isFamilyWindows() || OS.isFamilyUnix()) {
42
return new int[] { 0, 1 };
43
}
44
if (OS.isFamilyOpenVms()) {
0 commit comments