diff tests/test-action-script.c @ 547:c7664b679a95

misc: remove error codes for now
author David Demelier <markand@malikania.fr>
date Mon, 06 Mar 2023 20:03:00 +0100
parents a11cd7ea3a37
children
line wrap: on
line diff
--- a/tests/test-action-script.c	Mon Mar 06 20:01:00 2023 +0100
+++ b/tests/test-action-script.c	Mon Mar 06 20:03:00 2023 +0100
@@ -152,7 +152,7 @@
 	DT_EQ_PTR(sc.actions[2], &actions[2]);
 
 	/* This can not fit. */
-	DT_ASSERT(mlk_action_script_append(&sc, &actions[3]) == MLK_ERR_NO_MEM);
+	DT_ASSERT(mlk_action_script_append(&sc, &actions[3]) == -1);
 
 	mlk_action_script_finish(&sc);