Skip to content
Myr

Ignore test_debug test if backtrace is not available

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 504107e · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:tests/test_fmt.rs+1 added
41 unmodified lines
42 assert_eq!("g failed", h().unwrap_err().to_string());43}4445#[test]46#[cfg_attr(not(backtrace), ignore)]47fn test_debug() {48 assert_eq!(EXPECTED_DEBUG_F, format!("{:?}", f().unwrap_err()));49 assert_eq!(EXPECTED_DEBUG_G, format!("{:?}", g().unwrap_err()));50 assert_eq!(EXPECTED_DEBUG_H, format!("{:?}", h().unwrap_err()));
1 unmodified line