summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension/list.c')
-rw-r--r--tests/libdimension/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libdimension/list.c b/tests/libdimension/list.c
index d8760a1..8f8819e 100644
--- a/tests/libdimension/list.c
+++ b/tests/libdimension/list.c
@@ -40,8 +40,8 @@ dmnsn_comparator(const dmnsn_list_iterator *i, const dmnsn_list_iterator *j)
int
main(void)
{
- /* Set the resilience low for tests */
- dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
+ /* Treat warnings as errors for tests */
+ dmnsn_die_on_warnings(true);
dmnsn_list *list = dmnsn_new_list(sizeof(dmnsn_item));