Skip to content

Commit 991c298

Browse files
committed
some error
1 parent c34a992 commit 991c298

File tree

1 file changed

+1
-1
lines changed
  • tests/kernel/threads/thread_init/src

1 file changed

+1
-1
lines changed

tests/kernel/threads/thread_init/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ ZTEST_USER(thread_init, test_kinit_preempt_thread)
153153

154154
/*record time stamp of thread creation*/
155155
t_create = k_uptime_get();
156-
zassert_not_null(pthread, "thread creation failed");
156+
zassert_is_null(pthread, "thread creation failed");
157157

158158
expected.init_p1 = INIT_PREEMPT_P1;
159159
expected.init_p2 = INIT_PREEMPT_P2;

0 commit comments

Comments
 (0)