Prevent errors when using alternative error printout style.
This commit is contained in:
parent
92be487e80
commit
23b5bc4bd9
@ -245,7 +245,6 @@ mod generate_tests {
|
||||
false
|
||||
}
|
||||
});
|
||||
eprintln!("actual != expected, diverge at char {}", counter);
|
||||
/*
|
||||
let (actual_diff, expected_diff) = {
|
||||
let mut actual_diff = String::new();
|
||||
@ -256,6 +255,9 @@ mod generate_tests {
|
||||
}
|
||||
(actual_diff, expected_diff)
|
||||
};
|
||||
*/
|
||||
eprintln!("actual != expected, diverge at char {}", counter);
|
||||
/*
|
||||
eprintln!(" actual: {}", actual_diff);
|
||||
eprintln!("expected: {}", expected_diff);
|
||||
assert!(false);
|
||||
|
@ -226,7 +226,6 @@ mod generate_tests {
|
||||
false
|
||||
}
|
||||
});
|
||||
eprintln!("actual != expected, diverge at char {}", counter);
|
||||
/*
|
||||
let (actual_diff, expected_diff) = {
|
||||
let mut actual_diff = String::new();
|
||||
@ -237,6 +236,9 @@ mod generate_tests {
|
||||
}
|
||||
(actual_diff, expected_diff)
|
||||
};
|
||||
*/
|
||||
eprintln!("actual != expected, diverge at char {}", counter);
|
||||
/*
|
||||
eprintln!(" actual: {}", actual_diff);
|
||||
eprintln!("expected: {}", expected_diff);
|
||||
assert!(false);
|
||||
|
Loading…
Reference in New Issue
Block a user