Skip to content

Commit 857ac3f

Browse files
committed
update test to replace deprecated checks
1 parent 6fbb738 commit 857ac3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/basictests.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ END_TEST
4343
START_TEST (test_lwc_intern_substring_aborts2)
4444
{
4545
lwc_string *str;
46-
fail_unless(lwc_intern_string("Jam", 3, &str) == lwc_error_ok,
46+
ck_assert_msg(lwc_intern_string("Jam", 3, &str) == lwc_error_ok,
4747
"unable to intern 'Jam'");
4848

4949
lwc_intern_substring(str, 88, 77, null_lwc_p);
@@ -59,7 +59,7 @@ END_TEST
5959
START_TEST (test_lwc_string_tolower_aborts2)
6060
{
6161
lwc_string *str;
62-
fail_unless(lwc_intern_string("Badger", 6, &str) == lwc_error_ok,
62+
ck_assert_msg(lwc_intern_string("Badger", 6, &str) == lwc_error_ok,
6363
"unable to intern 'Badger'");
6464

6565
lwc_string_tolower(str, null_lwc_p);

0 commit comments

Comments
 (0)