Author: jhm
Date: Mon Sep 11 00:41:31 2006
New Revision: 442117
URL: http://svn.apache.org/viewvc?view=rev&rev=442117
Log:
typo
Modified:
ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java
Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java
URL:
http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java?view=diff&rev=442117&r1=442116&r2=442117
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java
(original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java Mon
Sep 11 00:41:31 2006
@@ -8,7 +8,7 @@
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -166,7 +166,7 @@
}
if (failOnError) {
throw new BuildException(ERROR_TESTS_FAILED
- + failures + " failure"
+ + failures + " failure"
+ (failures != 1 ? "s" : "")
+ " and "
+ errors + " error"
@@ -251,7 +251,7 @@
fireError(name, e);
}
} finally {
- // fire endTest her instead of the endTarget
+ // fire endTest here instead of the endTarget
// event, otherwise an error would be
// registered after the endTest event -
// endTarget is called before out catch block
@@ -271,7 +271,7 @@
newProject = null;
}
}
-
+
/**
* Redirect output to new project instance.
*/
@@ -439,4 +439,4 @@
public void messageLogged(BuildEvent event) {}
}
-}
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]