Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Oct 4, 2024
1 parent a6c456c commit 11f801d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions crates/tests/misc/bcrypt/tests/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ fn test() {
let block_len = u32::from_le_bytes(block_len) as usize;

let send_message = "I ❤️ Rust";
let mut send_buffer =
vec![0; block_len * send_message.len().div_ceil(block_len)];
let mut send_buffer = vec![0; block_len * send_message.len().div_ceil(block_len)];
send_buffer[..send_message.len()].copy_from_slice(send_message.as_bytes());

let mut encrypted_len = 0;
Expand Down
3 changes: 1 addition & 2 deletions crates/tests/misc/bcrypt/tests/win.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ fn test() -> Result<()> {
let block_len = u32::from_le_bytes(block_len) as usize;

let send_message = "I ❤️ Rust";
let mut send_buffer =
vec![0; block_len * send_message.len().div_ceil(block_len)];
let mut send_buffer = vec![0; block_len * send_message.len().div_ceil(block_len)];
send_buffer[..send_message.len()].copy_from_slice(send_message.as_bytes());

let mut encrypted_len = 0;
Expand Down

0 comments on commit 11f801d

Please sign in to comment.