go test :Wrong test signature

2018-07-03  本文已影响0人  名白
err: Wrong test signature

写测试函数出了个错,找半天才找到原因;虽然很愚蠢,还是记录下。

是因为 参数没加*导致的。

上一篇 下一篇

猜你喜欢

热点阅读