
ERROR
superzz0377
这个作者很懒,什么都没留下…
展开
-
somevoidmethod() does nothing the 1st time but throws an exception the 2nd t
使用Mockito写单元测试时,mock void方法报错,不用解决。当使用@Mock注解后默认void方法就是什么也不做。原创 2024-08-13 17:39:15 · 421 阅读 · 0 评论 -
牛客网你的输出为: d format: a number is required, not NoneType
在牛客网a题遇到%d format: a number is required, not NoneType的错误。忘了在递归函数前加return。原创 2019-09-27 23:48:50 · 5257 阅读 · 0 评论