whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@437206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
02166c52be
commit
48df64c11f
|
|
@ -164,10 +164,12 @@ public class AntUnit extends Task {
|
|||
getProject().setNewProperty(errorProperty, "true");
|
||||
}
|
||||
if (failOnError) {
|
||||
throw new BuildException(ERROR_TESTS_FAILED
|
||||
+ failures + " failure" + (failures != 1 ? "s" : "")
|
||||
+ " and "
|
||||
+ errors + " error" + (errors != 1 ? "s" : ""));
|
||||
throw new BuildException(ERROR_TESTS_FAILED
|
||||
+ failures + " failure"
|
||||
+ (failures != 1 ? "s" : "")
|
||||
+ " and "
|
||||
+ errors + " error"
|
||||
+ (errors != 1 ? "s" : ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue