diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-02-28 16:28:21 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-03-08 21:43:18 -0500 |
commit | a2bf45329a172d2c53594c64d27f1c15ac26796a (patch) | |
tree | 93c6c3e7404e4abc605c410f978aefa3dd3231fa /tests/libdimension/list.c | |
parent | f69c955c28b7e5c2eaf4af036cb88480a8e433f3 (diff) | |
download | dimension-a2bf45329a172d2c53594c64d27f1c15ac26796a.tar.xz |
New dmnsn_warning() API, remove different severities.
Diffstat (limited to 'tests/libdimension/list.c')
-rw-r--r-- | tests/libdimension/list.c | 4 |
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)); |