Skip to content

Commit 5347dfb

Browse files
authored
Merge pull request bhoffman0#214 from WCU-CS-CooperLab/non-static-methods-with-args
pass args instead of null
2 parents d58e433 + f6f32d8 commit 5347dfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodeTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ private String getInstanceMethodOutput(String methodName, Object[] args)// throw
439439
if (m.getName().equals(methodName)) {
440440

441441
if (!checkStaticMethod(m) && checkReturnType(m, "void")) {
442-
return getInstanceMethodOutput(m, null);
442+
return getInstanceMethodOutput(m, args);
443443
} else if (!checkStaticMethod(m)) {
444444
Object o = getTestInstance();
445445

0 commit comments

Comments
 (0)