mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Add back the default database path.
Allow default server_name when testing. Default to smoke test vector when testing. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
292b601755
commit
ae52676e33
6 files changed
+57
-11
No files matched your search
@@ -149,6 +149,18 @@ pub struct Args {
|
||||
pub gc_muzzy: Option<bool>,
|
||||
}
|
||||
|
||||
impl Args {
|
||||
#[must_use]
|
||||
pub fn default_test(name: &str) -> Self {
|
||||
let mut args = Self::default();
|
||||
args.test.push(name.into());
|
||||
args.option
|
||||
.push("server_name=\"localhost\"".into());
|
||||
|
||||
args
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Args {
|
||||
fn default() -> Self { Self::parse() }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user