Explorar o código

UnitTests: fix thread join test (#1808)

あく %!s(int64=3) %!d(string=hai) anos
pai
achega
0f9ea925d3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      applications/debug/unit_tests/storage/storage_test.c

+ 2 - 2
applications/debug/unit_tests/storage/storage_test.c

@@ -58,7 +58,7 @@ MU_TEST(storage_file_open_lock) {
     storage_file_close(file);
     storage_file_close(file);
 
 
     // file_locker thread stop
     // file_locker thread stop
-    mu_check(furi_thread_join(locker_thread) == FuriStatusOk);
+    mu_check(furi_thread_join(locker_thread));
     furi_thread_free(locker_thread);
     furi_thread_free(locker_thread);
 
 
     // clean data
     // clean data
@@ -148,7 +148,7 @@ MU_TEST(storage_dir_open_lock) {
     storage_dir_close(file);
     storage_dir_close(file);
 
 
     // file_locker thread stop
     // file_locker thread stop
-    mu_check(furi_thread_join(locker_thread) == FuriStatusOk);
+    mu_check(furi_thread_join(locker_thread));
     furi_thread_free(locker_thread);
     furi_thread_free(locker_thread);
 
 
     // clean data
     // clean data