tests: strutil, use ck_assert

We pass no message, so use ck_assert instead of ck_assert_msg. This
results in an error with check 0.15:
tests/strutil.c:157:2: error: too few arguments to function '_ck_assert_failed'
  157 |  ck_assert_msg(saved_locale != NULL);
This commit is contained in:
Jiri Slaby 2020-09-15 08:50:48 +02:00
parent 5208214739
commit 505a55f789
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ START_TEST(test_locale)
fprintf(stderr, "Old locale = %s\n", old_locale); fprintf(stderr, "Old locale = %s\n", old_locale);
/* Copy the name so it wont be clobbered by setlocale. */ /* Copy the name so it wont be clobbered by setlocale. */
saved_locale = g_strdup(old_locale); saved_locale = g_strdup(old_locale);
ck_assert_msg(saved_locale != NULL); ck_assert(saved_locale != NULL);
#ifdef _WIN32 #ifdef _WIN32
/* /*