From 2f98a7e2032715409891e6d2c9f8529cfed59569 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Dec 2024 02:17:07 +0100 Subject: Append `env::consts::OS` to snapshot filenames --- examples/todos/snapshots/creates_a_new_task-linux.sha256 | 1 + examples/todos/snapshots/creates_a_new_task.sha256 | 1 - examples/todos/src/main.rs | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 examples/todos/snapshots/creates_a_new_task-linux.sha256 delete mode 100644 examples/todos/snapshots/creates_a_new_task.sha256 (limited to 'examples/todos') diff --git a/examples/todos/snapshots/creates_a_new_task-linux.sha256 b/examples/todos/snapshots/creates_a_new_task-linux.sha256 new file mode 100644 index 00000000..9291711e --- /dev/null +++ b/examples/todos/snapshots/creates_a_new_task-linux.sha256 @@ -0,0 +1 @@ +e0b1f2e0c0af6324eb45fde8e82384d16acc2a80a9e157bdf3f42ac6548181cf \ No newline at end of file diff --git a/examples/todos/snapshots/creates_a_new_task.sha256 b/examples/todos/snapshots/creates_a_new_task.sha256 deleted file mode 100644 index 75d5f2ce..00000000 --- a/examples/todos/snapshots/creates_a_new_task.sha256 +++ /dev/null @@ -1 +0,0 @@ -b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123 \ No newline at end of file diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index 0b80f002..1cc47782 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -594,12 +594,11 @@ mod tests { use iced_test::{selector, Error, Simulator}; fn simulator(todos: &Todos) -> Simulator { - Simulator::with_size( + Simulator::with_settings( Settings { fonts: vec![Todos::ICON_FONT.into()], ..Settings::default() }, - (512.0, 512.0), todos.view(), ) } -- cgit