AEAD tests: Address wasm32-wasi build warning & clarify use.

This commit is contained in:
Brian Smith 2023-10-14 14:07:09 -07:00
parent 2986d15484
commit 1c476cd20c

View File

@ -48,11 +48,10 @@ macro_rules! test_aead {
$( $(
#[allow(non_snake_case)] #[allow(non_snake_case)]
mod $alg { // Provide a separate namespace for each algorithm's test. mod $alg { // Provide a separate namespace for each algorithm's test.
#[cfg(not(target_arch = "wasm32"))]
use super::super::*; use super::super::*;
#[cfg(target_arch = "wasm32")] #[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
use super::super::{*, test}; use wasm_bindgen_test::wasm_bindgen_test as test;
test_known_answer!( test_known_answer!(
$alg, $alg,