summaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index f5c403a..21d10e3 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -107,6 +107,10 @@
#include "libzmq21.cpp"
#undef XS_TEST_MAIN
+#define XS_TEST_MAIN resubscribe
+#include "resubscribe.cpp"
+#undef XS_TEST_MAIN
+
int main ()
{
int rc;
@@ -149,6 +153,8 @@ int main ()
assert (rc == 0);
rc = libzmq21 ();
assert (rc == 0);
+ rc = resubscribe ();
+ assert (rc == 0);
fprintf (stderr, "SUCCESS\n");
sleep (1);