mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
chore(deps): upgrade all dependencies, toolchains and images (#2825)
This commit is contained in:
1 parent
56e04e7b53
commit
3b552e00ef
510 files changed
+23614
-37473
No files matched your search
@@ -284,8 +284,10 @@ mod tests {
|
||||
assert_eq!(i32::from_le_bytes(payload[16..20].try_into().unwrap()), 1);
|
||||
|
||||
let path_units: Vec<u16> = payload[DROPFILES_HEADER_SIZE..payload.len() - 4]
|
||||
.chunks_exact(2)
|
||||
.map(|chunk| u16::from_le_bytes(chunk.try_into().unwrap()))
|
||||
.as_chunks::<2>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|chunk| u16::from_le_bytes(*chunk))
|
||||
.collect();
|
||||
assert_eq!(String::from_utf16(&path_units).unwrap(), "C:\\Temp\\a.txt");
|
||||
assert_eq!(&payload[payload.len() - 4..], &[0, 0, 0, 0]);
|
||||
|
||||
Reference in new issue
Block a user