summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension/png.c')
-rw-r--r--tests/libdimension/png.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libdimension/png.c b/tests/libdimension/png.c
index a3e4da8..33a3a67 100644
--- a/tests/libdimension/png.c
+++ b/tests/libdimension/png.c
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> *
+ * Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> *
* *
* This file is part of The Dimension Test Suite. *
* *
@@ -24,8 +24,8 @@
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);
/* Allocate our canvas */
dmnsn_canvas *canvas = dmnsn_new_canvas(768, 480);