Skip to content

Commit

Permalink
Ignore clippy doctest issues
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Mar 4, 2024
1 parent 5a3aba1 commit 6c4f995
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions serial_test_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::ops::Deref;
use syn::Result as SynResult;

/// Allows for the creation of serialised Rust tests
/// ````
/// ````no_run
/// #[test]
/// #[serial]
/// fn test_serial_one() {
Expand All @@ -34,7 +34,7 @@ use syn::Result as SynResult;
/// other, but not depend on other subsets, you can add a key argument to [serial](macro@serial), and all calls
/// with identical arguments will be called in serial. Multiple comma-separated keys will make a test run in serial with all of the sets with any of those keys.
///
/// ````
/// ````no_run
/// #[test]
/// #[serial(something)]
/// fn test_serial_one() {
Expand Down Expand Up @@ -75,7 +75,7 @@ pub fn serial(attr: TokenStream, input: TokenStream) -> TokenStream {
}

/// Allows for the creation of parallel Rust tests that won't clash with serial tests
/// ````
/// ````no_run
/// #[test]
/// #[serial]
/// fn test_serial_one() {
Expand Down Expand Up @@ -108,7 +108,7 @@ pub fn parallel(attr: TokenStream, input: TokenStream) -> TokenStream {
}

/// Allows for the creation of file-serialised Rust tests
/// ````
/// ````no_run
/// #[test]
/// #[file_serial]
/// fn test_serial_one() {
Expand All @@ -129,7 +129,7 @@ pub fn parallel(attr: TokenStream, input: TokenStream) -> TokenStream {
/// if run at the same time as the [file_serial](macro@file_serial) tests, you can use the [file_parallel](macro@file_parallel) attribute.
///
/// It also supports an optional `path` arg as well as key(s) as per [serial](macro@serial).
/// ````
/// ````no_run
/// #[test]
/// #[file_serial(key)]
/// fn test_serial_one() {
Expand All @@ -150,7 +150,7 @@ pub fn file_serial(attr: TokenStream, input: TokenStream) -> TokenStream {
}

/// Allows for the creation of file-serialised parallel Rust tests that won't clash with file-serialised serial tests
/// ````
/// ````no_run
/// #[test]
/// #[file_serial]
/// fn test_serial_one() {
Expand All @@ -173,7 +173,7 @@ pub fn file_serial(attr: TokenStream, input: TokenStream) -> TokenStream {
/// Note that as per [file_serial](macro@file_serial) this doesn't do anything for [serial](macro@serial)/[parallel](macro@parallel) tests.
///
/// It also supports an optional `path` arg as well as key(s) as per [serial](macro@serial).
/// ````
/// ````no_run
/// #[test]
/// #[file_parallel(key, path => "/tmp/foo")]
/// fn test_parallel_one() {
Expand Down

0 comments on commit 6c4f995

Please sign in to comment.