aboutsummaryrefslogtreecommitdiff
path: root/tests/demo.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-17 20:52:30 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-17 20:52:30 -0800
commit01b53ac4ce84aae2b2a1dcb1a68f748fd16f0ede (patch)
treead5ecac7f88c367ff2414b3f145d44e907ac63f5 /tests/demo.c
parent293a8e2c4f7a13fe81c043a91a9e7e3fd5ba4093 (diff)
downloadnng-01b53ac4ce84aae2b2a1dcb1a68f748fd16f0ede.tar.gz
nng-01b53ac4ce84aae2b2a1dcb1a68f748fd16f0ede.tar.bz2
nng-01b53ac4ce84aae2b2a1dcb1a68f748fd16f0ede.zip
Test framework is dev-complete. More functionality may be added later.
Also, the current code is not Win32 safe.
Diffstat (limited to 'tests/demo.c')
-rw-r--r--tests/demo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/demo.c b/tests/demo.c
index cfa879da..c38dd3b9 100644
--- a/tests/demo.c
+++ b/tests/demo.c
@@ -7,6 +7,7 @@ test_main("Things work", {
x = 1;
y = 2;
test_convey("X is one", {
+ test_debugf("A logged message.");
test_assert(x == 1);
});
test_convey("Y is two", {
@@ -38,7 +39,7 @@ test_main("Things work", {
});
test_convey("Middle (Skip?)", {
test_so(9 - 1 == 8);
- test_skip();
+ test_skip("forced skip");
test_so(0 == 1);
});
test_convey("Ending", {