summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;