mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-10 12:20:09 +08:00
should handle void return type
This commit is contained in:
parent
e46ec3d98a
commit
40073ad784
@ -163,6 +163,9 @@ public class MethodUtil {
|
||||
case TYPE_ARRAY:
|
||||
isArray = true;
|
||||
break;
|
||||
case TYPE_VOID:
|
||||
sb.append(",void");
|
||||
break;
|
||||
case TYPE_BYTE:
|
||||
sb.append(",byte").append(isArray ? "[]" : "");
|
||||
isArray = false;
|
||||
|
Loading…
Reference in New Issue
Block a user