Skip to content

Commit 2183385

Browse files
Fix name of incorrectly renamed variable
1 parent cd128b7 commit 2183385

File tree

1 file changed

+2
-2
lines changed
  • minesweeper/src/minesweeper_logic

1 file changed

+2
-2
lines changed

minesweeper/src/minesweeper_logic/table.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,8 +1062,8 @@ mod test {
10621062
BasicTable::with_custom_mines(height, width, MINE_LOCATIONS_5X6.clone()).unwrap();
10631063
let open_info = table.open_field(row, col).unwrap();
10641064
assert_eq!(open_info.result, OpenResult::Ok);
1065-
const MIN_fields: usize = 1;
1066-
assert!(open_info.newly_opened_fields.len() >= MIN_fields);
1065+
const MIN_NEWLY_OPENED_FIELDS: usize = 1;
1066+
assert!(open_info.newly_opened_fields.len() >= MIN_NEWLY_OPENED_FIELDS);
10671067
}
10681068
}
10691069

0 commit comments

Comments
 (0)