Skip to content

Commit 77fd5db

Browse files
Start adding test infra
1 parent 793fb62 commit 77fd5db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/config.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,9 @@ impl TestConfigBuilder {
225225

226226
self
227227
}
228+
229+
pub fn with_db_path(&mut self, path: &str) -> &mut Self {
230+
self.config_text.push_str(&format!("db_dir = {path}\n"));
231+
self
232+
}
228233
}

0 commit comments

Comments
 (0)