Minor refactor
This commit is contained in:
parent
b7cda0a0ec
commit
6ec723ea69
@ -41,9 +41,7 @@ fn main() {
|
||||
" {}: {}",
|
||||
n,
|
||||
if expected == output {
|
||||
let mut s = String::from("OK");
|
||||
s.push_str(&format!(" ({:?})", elapsed));
|
||||
s
|
||||
format!("OK ({:?})", elapsed)
|
||||
} else {
|
||||
format!("expected {}, got {}", expected, output)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user