diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-04-10 05:23:41 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-04-10 05:23:41 +0000 |
commit | 6d9e4e83989b1e7d5b69c30018246554112581c2 (patch) | |
tree | 95f145c4d29d010fa8106483025c1265291cdb4c /tests/warning.c | |
parent | 27c8c600022b64aad0737a46bc67c27838ae2424 (diff) | |
download | dimension-6d9e4e83989b1e7d5b69c30018246554112581c2.tar.xz |
Test for default resilience.
Diffstat (limited to 'tests/warning.c')
-rw-r--r-- | tests/warning.c | 2 |
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; |