This commit is contained in:
B. Blechschmidt 2023-03-25 02:01:17 +01:00
parent a5aac8c0a4
commit ce8ecbe44e
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ mod tests {
}
fn require_var(var: &str) {
env::var(var).unwrap_or_else(|_| panic!("{}", "{var} environment variable required"));
env::var(var).unwrap_or_else(|_| panic!("{} environment variable required", var));
}
#[serial]