summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/error.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-02-28 16:28:21 -0500
committerTavian Barnes <tavianator@gmail.com>2011-03-08 21:43:18 -0500
commita2bf45329a172d2c53594c64d27f1c15ac26796a (patch)
tree93c6c3e7404e4abc605c410f978aefa3dd3231fa /tests/libdimension/error.c
parentf69c955c28b7e5c2eaf4af036cb88480a8e433f3 (diff)
downloaddimension-a2bf45329a172d2c53594c64d27f1c15ac26796a.tar.xz
New dmnsn_warning() API, remove different severities.
Diffstat (limited to 'tests/libdimension/error.c')
-rw-r--r--tests/libdimension/error.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/libdimension/error.c b/tests/libdimension/error.c
index e8100f0..3f25d0a 100644
--- a/tests/libdimension/error.c
+++ b/tests/libdimension/error.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. *
* *
@@ -25,8 +25,6 @@
int
main(void)
{
- dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
- dmnsn_error(DMNSN_SEVERITY_LOW, "This error is expected.");
-
+ dmnsn_error("This error is expected.");
return EXIT_SUCCESS;
}