From 316a44378169b16b535372da7e12cd120c3bb0ab Mon Sep 17 00:00:00 2001 From: Ben Chambers <35960+bjchambers@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:44:46 -0700 Subject: [PATCH] tests: Fix session tests (#846) --- crates/sparrow-session/src/partitioned.rs | 2 +- crates/sparrow-session/src/partitioned/partitioned.rs | 1 - .../src/partitioned/{tests/basic_tests.rs => tests.rs} | 0 crates/sparrow-session/src/tests.rs | 2 -- 4 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 crates/sparrow-session/src/partitioned/partitioned.rs rename crates/sparrow-session/src/partitioned/{tests/basic_tests.rs => tests.rs} (100%) delete mode 100644 crates/sparrow-session/src/tests.rs diff --git a/crates/sparrow-session/src/partitioned.rs b/crates/sparrow-session/src/partitioned.rs index 9e124140..079b7206 100644 --- a/crates/sparrow-session/src/partitioned.rs +++ b/crates/sparrow-session/src/partitioned.rs @@ -1,5 +1,5 @@ mod session; pub use session::*; -#[cfg(tests)] +#[cfg(test)] mod tests; diff --git a/crates/sparrow-session/src/partitioned/partitioned.rs b/crates/sparrow-session/src/partitioned/partitioned.rs deleted file mode 100644 index ddf7753c..00000000 --- a/crates/sparrow-session/src/partitioned/partitioned.rs +++ /dev/null @@ -1 +0,0 @@ -mod basic_tests; diff --git a/crates/sparrow-session/src/partitioned/tests/basic_tests.rs b/crates/sparrow-session/src/partitioned/tests.rs similarity index 100% rename from crates/sparrow-session/src/partitioned/tests/basic_tests.rs rename to crates/sparrow-session/src/partitioned/tests.rs diff --git a/crates/sparrow-session/src/tests.rs b/crates/sparrow-session/src/tests.rs deleted file mode 100644 index 4b6f1952..00000000 --- a/crates/sparrow-session/src/tests.rs +++ /dev/null @@ -1,2 +0,0 @@ -//! Partitioned execution tests -mod partitioned;