Browse Source

tests: small fix on test cases in extension_impl

Signed-off-by: DongQing <placebo27@hust.edu.cn>
DongQing 1 year ago
parent
commit
153263680d
1 changed files with 1 additions and 4 deletions
  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;