summaryrefslogtreecommitdiff
path: root/tests/reqrep_inproc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reqrep_inproc.cpp')
-rw-r--r--tests/reqrep_inproc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reqrep_inproc.cpp b/tests/reqrep_inproc.cpp
index c66b82b..bd5cc92 100644
--- a/tests/reqrep_inproc.cpp
+++ b/tests/reqrep_inproc.cpp
@@ -30,12 +30,12 @@ int XS_TEST_MAIN ()
void *sb = xs_socket (ctx, XS_REP);
assert (sb);
int rc = xs_bind (sb, "inproc://a");
- assert (rc == 0);
+ assert (rc != -1);
void *sc = xs_socket (ctx, XS_REQ);
assert (sc);
rc = xs_connect (sc, "inproc://a");
- assert (rc == 0);
+ assert (rc != -1);
bounce (sb, sc);