From a04f4b13f2afe89f435f6af5cbfe6f1bb0cf89fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=98=A4=EB=B3=91=EC=A7=84?= <64676070+sunrabbit123@users.noreply.github.com> Date: Tue, 15 Aug 2023 14:34:32 +0900 Subject: [PATCH] test: Update `conformance` test error message format (#1068) --- crates/stc_ts_file_analyzer/tests/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {