diff options
author | 2024-12-17 02:17:07 +0100 | |
---|---|---|
committer | 2024-12-17 02:17:07 +0100 | |
commit | 2f98a7e2032715409891e6d2c9f8529cfed59569 (patch) | |
tree | 47801cfce52e6e3870ba483727bb8be0a21de396 /examples/todos | |
parent | 0ad40d03387a8127b445305a1c63fa3d2ac45ed7 (diff) | |
download | iced-2f98a7e2032715409891e6d2c9f8529cfed59569.tar.gz iced-2f98a7e2032715409891e6d2c9f8529cfed59569.tar.bz2 iced-2f98a7e2032715409891e6d2c9f8529cfed59569.zip |
Append `env::consts::OS` to snapshot filenames
Diffstat (limited to 'examples/todos')
-rw-r--r-- | examples/todos/snapshots/creates_a_new_task-linux.sha256 | 1 | ||||
-rw-r--r-- | examples/todos/snapshots/creates_a_new_task.sha256 | 1 | ||||
-rw-r--r-- | examples/todos/src/main.rs | 3 |
3 files changed, 2 insertions, 3 deletions
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<Message> { - Simulator::with_size( + Simulator::with_settings( Settings { fonts: vec![Todos::ICON_FONT.into()], ..Settings::default() }, - (512.0, 512.0), todos.view(), ) } |