Reduce size of Simulator in todos test
This commit is contained in:
parent
b22a847668
commit
0ad40d0338
4 changed files with 13 additions and 15 deletions
|
|
@ -1 +1 @@
|
|||
a7c2ac4b57f84416812e2134e48fe34db55a757d9176beedf5854a2f69532e32
|
||||
b41c73d214894bf5f94f787e5f265cff6500822b2d4a29a4ac0c847a71db7123
|
||||
|
|
@ -594,11 +594,12 @@ mod tests {
|
|||
use iced_test::{selector, Error, Simulator};
|
||||
|
||||
fn simulator(todos: &Todos) -> Simulator<Message> {
|
||||
Simulator::with_settings(
|
||||
Simulator::with_size(
|
||||
Settings {
|
||||
fonts: vec![Todos::ICON_FONT.into()],
|
||||
..Settings::default()
|
||||
},
|
||||
(512.0, 512.0),
|
||||
todos.view(),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue