Skip to content

Commit 9f793d1

Browse files
committed
docs: Document should_panic macro deviation
1 parent dd8b78b commit 9f793d1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/libtest2/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
//! - `#[test]` does not support all `Termination` types as return values,
3939
//! only what [`IntoRunResult`] supports.
4040
//! - `#[ignore]` must come after the `#[test]` macro
41+
//! - `#[should_ignore]` must come after the `#[test]` macro
4142
//! - Output capture and `--no-capture`: simply not supported. The official
4243
//! `libtest` uses internal `std` functions to temporarily redirect output.
4344
//! `libtest` cannot use those, see also [libtest2#12](https://github.com/assert-rs/libtest2/issues/12)

0 commit comments

Comments
 (0)