OSDK check and clippy with cfg(ktest)

This commit is contained in:
Zhang Junyang
2024-08-15 15:17:59 +08:00
committed by Tate, Hongliang Tian
parent be3492d7f0
commit d76c7a5b1e
16 changed files with 48 additions and 39 deletions

View File

@ -383,6 +383,7 @@ mod test {
#[ktest]
fn create_task() {
#[allow(clippy::eq_op)]
let task = || {
assert_eq!(1, 1);
};
@ -395,6 +396,7 @@ mod test {
#[ktest]
fn spawn_task() {
#[allow(clippy::eq_op)]
let task = || {
assert_eq!(1, 1);
};