Skip to content

Commit fd15d2c

Browse files
pass args instead of null
1 parent d58e433 commit fd15d2c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CodeTestHelper.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,9 @@ 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+
// this was ignoring the args passed in before
443+
// which is probably not the desired behavior
444+
return getInstanceMethodOutput(m, args);
443445
} else if (!checkStaticMethod(m)) {
444446
Object o = getTestInstance();
445447

0 commit comments

Comments
 (0)