mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-10 20:30:11 +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:
|
case TYPE_ARRAY:
|
||||||
isArray = true;
|
isArray = true;
|
||||||
break;
|
break;
|
||||||
|
case TYPE_VOID:
|
||||||
|
sb.append(",void");
|
||||||
|
break;
|
||||||
case TYPE_BYTE:
|
case TYPE_BYTE:
|
||||||
sb.append(",byte").append(isArray ? "[]" : "");
|
sb.append(",byte").append(isArray ? "[]" : "");
|
||||||
isArray = false;
|
isArray = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user