mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 11:53:24 +00:00
OSDK check and clippy with cfg(ktest)
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
be3492d7f0
commit
d76c7a5b1e
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user