diff --git a/crates/katana/storage/db/src/version.rs b/crates/katana/storage/db/src/version.rs index d9adaf9d65..f77bc28b2f 100644 --- a/crates/katana/storage/db/src/version.rs +++ b/crates/katana/storage/db/src/version.rs @@ -74,3 +74,13 @@ pub(super) fn get_db_version(path: impl AsRef) -> Result PathBuf { path.join(DB_VERSION_FILE_NAME) } + +#[cfg(test)] +mod tests { + + #[test] + fn test_current_version() { + use super::CURRENT_DB_VERSION; + assert_eq!(CURRENT_DB_VERSION, 1, "Invalid current database version") + } +}