agiledragon / gomonkey

gomonkey is a library to make monkey patching in unit tests easy
MIT License
1.93k stars 179 forks source link

arm64 test failed in some TestFunctions #56

Closed hengwu0 closed 2 years ago

hengwu0 commented 2 years ago

test failed in TestApplyFuncSeq, TestApplyInterfaceReused, TestApplyMethodSeq. And they seems all related to reflect.Makefunc.

reproduce commands:

cd test;
go test -v -gcflags=all="-N -l"
agiledragon commented 2 years ago

In most scenarios, there is no problem, only patches of a specified sequence are affected.

hengwu0 commented 2 years ago

Fixed in #58.