tests: posix: semaphores: coalesce string constants

Just a formatting change, in a separate commit.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-04-19 10:07:00 -04:00 committed by Benjamin Cabé
commit a08240ba0d

View file

@ -73,9 +73,7 @@ static void semaphore_test(sem_t *sem)
zassert_equal(sem_getvalue(sem, &val), 0);
zassert_equal(val, 1);
zassert_equal(sem_destroy(sem), -1,
"acquired semaphore"
" is destroyed");
zassert_equal(sem_destroy(sem), -1, "acquired semaphore is destroyed");
zassert_equal(errno, EBUSY);
/* TESTPOINT: take semaphore which is initialized with 1 */