Skip to content

Commit

Permalink
Only test async with mod when async is on
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Apr 27, 2024
1 parent 3c25842 commit 2cb0880
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serial_test_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ mod tests {
}

#[test]
#[cfg(feature = "async")]
fn test_mod_with_async() {
init();
let attrs = proc_macro2::TokenStream::new();
Expand Down

0 comments on commit 2cb0880

Please sign in to comment.