From 32c175b543de5782f6615a7110b4d303620b50d0 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Fri, 13 Oct 2023 18:01:21 -0700 Subject: [PATCH] Assert that schema is uninitialized. --- src/tests/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/mod.rs b/src/tests/mod.rs index b62406d..09147e9 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -104,6 +104,7 @@ impl SchemaSanitizer { fn new() -> Self { IS_TEST_SCHEMA_CLEAN.with(|cleanliness_reference| { let mut is_clean_option = cleanliness_reference.borrow_mut(); + assert!(is_clean_option.is_none()); *is_clean_option = Some(false); }); -- 2.39.5