mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-15 14:52:26 +00:00
test: keep ref-edit three-sheet check clippy-clean
This commit is contained in:
1 parent
467d36a9c8
commit
bf76e6e63b
1 file changed
+2
-2
@@ -1064,8 +1064,8 @@ fn the_windows_cancel_with_an_unsavable_draft_closes_the_dialog_and_says_why() {
|
||||
assert_eq!(draft_text(&h).as_deref(), Some("Picked note"), "the draft is kept");
|
||||
assert_eq!(selection(&h).0, 2, "the selection stays where it is");
|
||||
let wb = &h.state().session.active().unwrap().wb;
|
||||
for sheet in 0..3 {
|
||||
assert!(wb.sheets[sheet].value(CellRef::parse("H1").unwrap()).is_empty(), "nothing ran on sheet {sheet}");
|
||||
for (index, sheet) in wb.sheets[..3].iter().enumerate() {
|
||||
assert!(sheet.value(CellRef::parse("H1").unwrap()).is_empty(), "nothing ran on sheet {index}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user