Skip to content
Snippets Groups Projects
Commit 41d68fdd authored by Tommie Levy's avatar Tommie Levy
Browse files

skip panic tests when using an assert which aborts

parent 573b77db
No related branches found
Tags 4.0.3
No related merge requests found
Pipeline #540 failed
......@@ -365,6 +365,7 @@ mod test {
}
#[test]
#[cfg(not(feature="write"))]
#[should_panic]
fn test_oob() {
let arr = b"lorem";
......
......@@ -89,6 +89,7 @@ mod test {
use super::*;
#[test]
#[cfg(not(feature="write"))]
#[should_panic]
fn test_panic_oom() {
fn panic() -> ! {
......@@ -101,6 +102,7 @@ mod test {
#[test]
#[should_panic]
#[cfg(not(feature="write"))]
#[cfg(feature = "tls")]
fn test_panic_thread_oom() {
fn infinite() -> ! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment