阅读背景:

如何编写Rust单元测试以确保发生恐慌?

来源:互联网 

I have a Rust function that panics under some condition and I wish to write a test case to validate whether the function is panicking or not. I couldn't find anything except the s under some c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: