[testng] 82/160: Typo
Eugene Zhukov
eugene-guest at moszumanska.debian.org
Tue Aug 18 10:22:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
eugene-guest pushed a commit to annotated tag testng-6.9.5
in repository testng.
commit 538676a825264d84923b1a385c178916c16fa383
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date: Fri Jun 5 01:05:01 2015 +0200
Typo
---
.../org/testng/internal/AbstractExpectedExceptionsHolder.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/testng/internal/AbstractExpectedExceptionsHolder.java b/src/main/java/org/testng/internal/AbstractExpectedExceptionsHolder.java
index e5ab7b0..0fa7260 100644
--- a/src/main/java/org/testng/internal/AbstractExpectedExceptionsHolder.java
+++ b/src/main/java/org/testng/internal/AbstractExpectedExceptionsHolder.java
@@ -43,7 +43,7 @@ public abstract class AbstractExpectedExceptionsHolder {
* expected exceptions
*/
public boolean isExpectedException(Throwable ite) {
- if (!hasExpectectedClasses()) {
+ if (!hasExpectedClasses()) {
return false;
}
@@ -65,7 +65,7 @@ public abstract class AbstractExpectedExceptionsHolder {
}
public Throwable wrongException(Throwable ite) {
- if (!hasExpectectedClasses()) {
+ if (!hasExpectedClasses()) {
return ite;
}
@@ -81,14 +81,14 @@ public abstract class AbstractExpectedExceptionsHolder {
protected abstract String getWrongExceptionMessage(Throwable ite);
public TestException noException(ITestNGMethod testMethod) {
- if (!hasExpectectedClasses()) {
+ if (!hasExpectedClasses()) {
return null;
}
return new TestException("Method " + testMethod + " should have thrown an exception of "
+ getExpectedExceptionsPluralize());
}
- private boolean hasExpectectedClasses() {
+ private boolean hasExpectedClasses() {
return expectedClasses != null && expectedClasses.length > 0;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git
More information about the pkg-java-commits
mailing list