From 2d8737e2dbe06e57839b2ab5592fd3175b77bdfe Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 3 Dec 2024 10:32:28 +0100 Subject: [PATCH] Use proper error formating in demo-app-window tests --- crates/egui_demo_lib/src/demo/demo_app_windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui_demo_lib/src/demo/demo_app_windows.rs b/crates/egui_demo_lib/src/demo/demo_app_windows.rs index 8729d148f11..5b57c675b5a 100644 --- a/crates/egui_demo_lib/src/demo/demo_app_windows.rs +++ b/crates/egui_demo_lib/src/demo/demo_app_windows.rs @@ -426,7 +426,7 @@ mod tests { let result = harness.try_wgpu_snapshot_options(&format!("demos/{name}"), &options); if let Err(err) = result { - errors.push(err); + errors.push(err.to_string()); } }