diff --git a/crates/stc_ts_file_analyzer/tests/base.rs b/crates/stc_ts_file_analyzer/tests/base.rs index 86f633a8ba..05da201bdd 100644 --- a/crates/stc_ts_file_analyzer/tests/base.rs +++ b/crates/stc_ts_file_analyzer/tests/base.rs @@ -191,7 +191,7 @@ fn compare(input: PathBuf) { } let stderr = run_test(input, false, false).unwrap(); - panic!("Wanted {:?}\n{}", expected, stderr) + panic!("\nWanted {:?}\nBut, We got {:?}\n\n{}", expected, actual, stderr) } fn invoke_tsc(input: &Path) -> Vec {