Skip to content

Commit d1568a9

Browse files
committed
fix #[test] in doctest
1 parent 685bdb2 commit d1568a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/spectacular/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Doc examples show `#[test]` as part of the test_suite API — they are illustrative, not runnable tests.
2+
#![allow(clippy::test_attr_in_doctest)]
13
//! An RSpec-inspired test framework for Rust with stackable before/after hooks.
24
//!
35
//! Spectacular provides three layers of test hooks that stack in a predictable order:

0 commit comments

Comments
 (0)