diff --git a/veilid-core/Cargo.toml b/veilid-core/Cargo.toml index 6eb99b12..d646c587 100644 --- a/veilid-core/Cargo.toml +++ b/veilid-core/Cargo.toml @@ -72,6 +72,7 @@ data-encoding = { version = "^2" } weak-table = "0.3.2" range-set-blaze = "0.1.5" argon2 = "0.5.0" +paste = "1.0.12" # Dependencies for native builds only # Linux, Windows, Mac, iOS, Android diff --git a/veilid-core/src/routing_table/tests/mod.rs b/veilid-core/src/routing_table/tests/mod.rs index 209cc9d3..44ed3a79 100644 --- a/veilid-core/src/routing_table/tests/mod.rs +++ b/veilid-core/src/routing_table/tests/mod.rs @@ -1 +1 @@ -pub mod test_serialize; +pub mod test_serialize_routing_table; diff --git a/veilid-core/src/routing_table/tests/test_serialize.rs b/veilid-core/src/routing_table/tests/test_serialize_routing_table.rs similarity index 100% rename from veilid-core/src/routing_table/tests/test_serialize.rs rename to veilid-core/src/routing_table/tests/test_serialize_routing_table.rs diff --git a/veilid-core/src/tests/native/mod.rs b/veilid-core/src/tests/native/mod.rs index 336fb343..613ac9e7 100644 --- a/veilid-core/src/tests/native/mod.rs +++ b/veilid-core/src/tests/native/mod.rs @@ -35,8 +35,8 @@ pub async fn run_all_tests() { test_envelope_receipt::test_all().await; info!("TEST: veilid_api::tests::test_serialize_rkyv"); veilid_api::tests::test_serialize_rkyv::test_all().await; - info!("TEST: routing_table::test_serialize"); - routing_table::tests::test_serialize::test_all().await; + info!("TEST: routing_table::test_serialize_routing_table"); + routing_table::tests::test_serialize_routing_table::test_all().await; info!("Finished unit tests"); } @@ -131,6 +131,6 @@ cfg_if! { run_test!(veilid_api, test_serialize_rkyv); - run_test!(routing_table, test_serialize); + run_test!(routing_table, test_serialize_routing_table); } } diff --git a/veilid-core/tests/web.rs b/veilid-core/tests/web.rs index f8a2b6fd..ec4e1b31 100644 --- a/veilid-core/tests/web.rs +++ b/veilid-core/tests/web.rs @@ -100,4 +100,6 @@ async fn wasm_test_serialize_rkyv() { async fn wasm_test_routing_table_serialize() { setup(); test_routing_table_serialize::test_all().await; + setup(); + test_serialize::test_all().await; }