Skip to content

Commit

Permalink
Assert that schema is uninitialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed Oct 14, 2023
1 parent 4a09d46 commit 32c175b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 32c175b

Please sign in to comment.