adjusted alert function arg add #301

This commit is contained in:
DustInDark
2021-12-19 13:56:34 +09:00
parent 7e00ab00fe
commit 55c05c6d38
6 changed files with 16 additions and 5 deletions

View File

@@ -380,7 +380,7 @@ mod tests {
let input = "TEST!";
let stdout = std::io::stdout();
let mut stdout = stdout.lock();
AlertMessage::alert(&mut stdout, input.to_string()).expect("[ERROR] TEST!");
AlertMessage::alert(&mut stdout, input.to_string(), false).expect("[ERROR] TEST!");
}
#[test]
@@ -388,7 +388,7 @@ mod tests {
let input = "TESTWarn!";
let stdout = std::io::stdout();
let mut stdout = stdout.lock();
AlertMessage::alert(&mut stdout, input.to_string()).expect("[WARN] TESTWarn!");
AlertMessage::alert(&mut stdout, input.to_string(), false).expect("[WARN] TESTWarn!");
}
#[test]