added tests that mimic the #[should_panic] cargo test feature
This commit is contained in:
parent
caa6e8e951
commit
b4eb0a37cf
2 changed files with 29 additions and 0 deletions
|
@ -8,6 +8,10 @@ name = "totos"
|
|||
test = true
|
||||
bench = false
|
||||
|
||||
[[test]]
|
||||
name = "should_panic"
|
||||
harness = false
|
||||
|
||||
[profile.dev]
|
||||
panic = "abort" # disable stack unwinding on panic
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue