Skip to content

Commit 3380d94

Browse files
committed
Add doc tests to test script
The doc tests now contain a check that ensures that mem::swap can't create unsound behavior, so it's critical we continue to monitor that going forward.
1 parent fa65c45 commit 3380d94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/all-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@ fi
3030
# Examples
3131
cargo nextest run --examples
3232

33+
# Doc tests
34+
cargo test --doc
35+
3336
# Benchmarks
3437
([ "$CHANNEL" != "nightly" ] || cargo bench --no-run --verbose --features "$FEATURES")

0 commit comments

Comments
 (0)