Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore clippy doctest issues #108

Merged
merged 1 commit into from Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions serial_test_derive/src/lib.rs
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