Skip to content

Commit

Permalink
clippy: fix minor issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Aug 2, 2023
1 parent a5bf21c commit 8b2e474
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/worksheet/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ mod worksheet_tests {

#[test]
fn test_assemble() {
let mut worksheet = Worksheet::default();
worksheet.selected = true;
let mut worksheet = Worksheet {
selected: true,
..Default::default()
};

worksheet.assemble_xml_file();

let got = worksheet.writer.read_to_str();
Expand Down

0 comments on commit 8b2e474

Please sign in to comment.