From fb18038e55cc3f04b532226541c6bfc9fe06f747 Mon Sep 17 00:00:00 2001 From: Lixin Guo Date: Fri, 8 Oct 2021 10:07:00 +0800 Subject: [PATCH] tests: stack: fix improper assert message I find that there has a description error and a spelling mistake in assert message. So I fixed this. Signed-off-by: Lixin Guo --- tests/kernel/stack/stack/src/test_stack_contexts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel/stack/stack/src/test_stack_contexts.c b/tests/kernel/stack/stack/src/test_stack_contexts.c index 283ec7432b0..2dba37867c7 100644 --- a/tests/kernel/stack/stack/src/test_stack_contexts.c +++ b/tests/kernel/stack/stack/src/test_stack_contexts.c @@ -183,7 +183,7 @@ void test_stack_alloc_thread2thread(void) /** Requested buffer allocation from the test pool.*/ ret = k_stack_alloc_init(&kstack_test_alloc, (STACK_SIZE/2)+1); zassert_true(ret == -ENOMEM, - "resource pool is smaller then requested buffer"); + "requested buffer is smaller than resource pool"); } static void low_prio_wait_for_stack(void *p1, void *p2, void *p3)