Skip to content

Commit

Permalink
Test for size_on_disk in patchlist
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed Aug 23, 2024
1 parent 979b8df commit e1a9be2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/patchlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ mod tests {
assert_eq!(patch_list.patches.len(), 1);
assert_eq!(patch_list.patches[0].version, "2023.09.14.0000.0001");
assert_eq!(patch_list.patches[0].url, "http://patch-dl.ffxiv.com/boot/2b5cbc63/D2023.09.14.0000.0001.patch");
assert_eq!(patch_list.patches[0].size_on_disk, 69674819);
}

#[test]
Expand Down Expand Up @@ -251,6 +252,7 @@ mod tests {
assert_eq!(patch_list.patches.len(), 19);
assert_eq!(patch_list.patches[5].version, "2023.07.26.0000.0001");
assert_eq!(patch_list.patches[5].url, "http://patch-dl.ffxiv.com/game/ex1/6b936f08/D2023.07.26.0000.0001.patch");
assert_eq!(patch_list.patches[5].size_on_disk, 5854598228);
}

#[test]
Expand Down

0 comments on commit e1a9be2

Please sign in to comment.