summaryrefslogtreecommitdiffstats
path: root/tests/warning.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-10 05:23:41 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-10 05:23:41 +0000
commit6d9e4e83989b1e7d5b69c30018246554112581c2 (patch)
tree95f145c4d29d010fa8106483025c1265291cdb4c /tests/warning.c
parent27c8c600022b64aad0737a46bc67c27838ae2424 (diff)
downloaddimension-6d9e4e83989b1e7d5b69c30018246554112581c2.tar.xz
Test for default resilience.
Diffstat (limited to 'tests/warning.c')
-rw-r--r--tests/warning.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/warning.c b/tests/warning.c
index bd7169a..c3f5b4c 100644
--- a/tests/warning.c
+++ b/tests/warning.c
@@ -22,6 +22,8 @@
int main()
{
+ if (dmnsn_get_resilience() != DMNSN_SEVERITY_MEDIUM) return 1;
+
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
if (dmnsn_get_resilience() != DMNSN_SEVERITY_LOW) return 1;