CI: clippy and tests on pull requests and main
A Windows job on the pinned toolchain: clippy with -D warnings on the default and the --all-features (diagnostics) build, then cargo test --workspace, which includes the asset-policy test. main did not build its tests: scalar_bit_tests_lower called lowers() without the rsrc2 argument a parallel change added (0, no input registers). Also drops a double parenthesis clippy flagged in an xasync test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d002e1191b
commit
057ecfb34a
3 files changed
+35
-2
No files matched your search
@@ -1179,7 +1179,7 @@ mod tests {
|
||||
S_OK
|
||||
);
|
||||
assert_eq!((value, used), (0x1234, 8));
|
||||
assert!(call((&raw mut block)).is_none(), "the call ends with its result");
|
||||
assert!(call(&raw mut block).is_none(), "the call ends with its result");
|
||||
XTaskQueueCloseHandle(q);
|
||||
}
|
||||
|
||||
|
||||
@@ -6960,7 +6960,7 @@ mod tests {
|
||||
];
|
||||
for head in bit_tests {
|
||||
let words: Vec<u32> = head.iter().chain(&tail).copied().collect();
|
||||
lowers(&words).unwrap();
|
||||
lowers(&words, 0).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user