1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

egui_kittest: more ergonomic functions taking Impl Into<String> (#7307)

This commit is contained in:
Emil Ernerfeldt
2025-07-07 13:50:53 +02:00
committed by GitHub
parent b11b77e85f
commit 09596a5e7b
7 changed files with 34 additions and 22 deletions

View File

@@ -416,7 +416,7 @@ mod tests {
options = options.threshold(OsThreshold::new(0.0).linux(2.1));
}
results.add(harness.try_snapshot_options(&format!("demos/{name}"), &options));
results.add(harness.try_snapshot_options(format!("demos/{name}"), &options));
}
}

View File

@@ -374,7 +374,7 @@ mod tests {
harness.fit_contents();
harness.run();
harness.snapshot(&format!("tessellation_test/{name}"));
harness.snapshot(format!("tessellation_test/{name}"));
}
}
}

View File

@@ -745,7 +745,7 @@ mod tests {
harness.fit_contents();
results.add(harness.try_snapshot(&format!("rendering_test/dpi_{dpi:.2}")));
results.add(harness.try_snapshot(format!("rendering_test/dpi_{dpi:.2}")));
}
}
}