Commit a9360030 authored by Luca Boccassi's avatar Luca Boccassi

Problem: assertion in test_xpub_manual is swapped

Solution: check that both pointers passed as arguments to
test_missing_subscription are non-NULL, instead of the opposite.
parent dd038ae3
...@@ -230,7 +230,7 @@ int test_xpub_proxy_unsubscribe_on_disconnect() ...@@ -230,7 +230,7 @@ int test_xpub_proxy_unsubscribe_on_disconnect()
int test_missing_subscriptions(const char *frontend, const char *backend) int test_missing_subscriptions(const char *frontend, const char *backend)
{ {
assert (!frontend && !backend); assert (frontend && backend);
const char* topic1 = "1"; const char* topic1 = "1";
const char* topic2 = "2"; const char* topic2 = "2";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment