4
0
Эх сурвалжийг харах

tests: small fix on test cases in extension_impl

Signed-off-by: DongQing <placebo27@hust.edu.cn>
DongQing 1 жил өмнө
parent
commit
153263680d
1 өөрчлөгдсөн 1 нэмэгдсэн , 4 устгасан
  1. 1 4
      tests/build-full.rs

+ 1 - 4
tests/build-full.rs

@@ -254,10 +254,7 @@ fn extension_impl() {
         timer: DummyTimer,
         info: DummyEnvInfo,
     };
-    assert_eq!(
-        sbi.handle_ecall(0x4442434E, 0x0, [0; 6]).error,
-        -1isize as _
-    );
+    assert_eq!(sbi.handle_ecall(0x4442434E, 0x0, [0; 6]).error, 0isize as _);
 }
 
 struct DummyConsole;