Skip to content

Commit

Permalink
fixup! fixup! style: fix all unexpected cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jan 14, 2025
1 parent 66bb3ef commit 7aa8f8b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions multiplatform_test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ impl Platform {
Platform::Tokio => quote! { #[tokio::test ] },
Platform::AsyncStd => quote! { #[async_std::test] },
Platform::Dfir => quote! { #[dfir_rs::test] },
Platform::Wasm => {
quote! {
#[allow(unexpected_cfgs, reason = "cfg(wasm_bindgen_unstable_test_coverage)")]
#[wasm_bindgen_test::wasm_bindgen_test]
}
}
Platform::Wasm => quote! { #[wasm_bindgen_test::wasm_bindgen_test] },
Platform::EnvLogging | Platform::EnvTracing => Default::default(),
}
}
Expand Down

0 comments on commit 7aa8f8b

Please sign in to comment.