Skip to content

Commit 2cc1e0f

Browse files
committed
fix my own typo in typo fixes :)
1 parent 2e3371d commit 2cc1e0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

testng-core/src/main/java/org/testng/internal/invokers/TestMethodWorker.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,20 @@ && doesTaskHavePreRequisites()
115115
return;
116116
}
117117

118-
for (IMethodInstance testMethdInstance : m_methodInstances) {
119-
ITestNGMethod testMethod = testMethdInstance.getMethod();
118+
for (IMethodInstance testMethodInstance : m_methodInstances) {
119+
ITestNGMethod testMethod = testMethodInstance.getMethod();
120120
if (canInvokeBeforeClassMethods()) {
121121
synchronized (testMethod.getInstance()) {
122-
invokeBeforeClassMethods(testMethod.getTestClass(), testMethdInstance);
122+
invokeBeforeClassMethods(testMethod.getTestClass(), testMethodInstance);
123123
}
124124
}
125125

126126
// Invoke test method
127127
try {
128-
invokeTestMethods(testMethod, testMethdInstance.getInstance());
128+
invokeTestMethods(testMethod, testMethodInstance.getInstance());
129129
} finally {
130130
synchronized (testMethod.getInstance()) {
131-
invokeAfterClassMethods(testMethod.getTestClass(), testMethdInstance);
131+
invokeAfterClassMethods(testMethod.getTestClass(), testMethodInstance);
132132
}
133133
}
134134
}

0 commit comments

Comments
 (0)