Enum test::ShouldPanic [−][src]
pub enum ShouldPanic { No, Yes, YesWithMessage(&'static str), }
🔬 This is a nightly-only experimental API. (
test
)Expand description
是否期望对 panic 进行测试
Variants
🔬 This is a nightly-only experimental API. (
test
)🔬 This is a nightly-only experimental API. (
test
)YesWithMessage(&'static str)
🔬 This is a nightly-only experimental API. (
test
)