diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2013-02-22 10:38:36 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2013-02-22 10:38:36 +0000 |
commit | 57fa65482d32721a31403c8f09af8ea6ee431a6f (patch) | |
tree | df2de024d3269eb11b09ed8a0c5a76b6697c20b7 | |
parent | 883cd456c08964d01d323a6cfc1590ce858ea653 (diff) |
Fix wocky-connector-test
I changed the default value for WockyConnector:resource to NULL in
5fb069a, but didn't update the test accordingly.
-rw-r--r-- | tests/wocky-connector-test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/wocky-connector-test.c b/tests/wocky-connector-test.c index 78b4238..a25fbac 100644 --- a/tests/wocky-connector-test.c +++ b/tests/wocky-connector-test.c @@ -3642,8 +3642,10 @@ run_test (gpointer data) g_free (identity); g_object_get (wcon, "resource", &identity, NULL); - g_assert (identity != NULL); - g_assert (*identity != '\0'); + /* TODO: really? :identity gets updated to contain the actual + * post-bind resource, but perhaps :resource should be updated too? + */ + g_assert_cmpstr (identity, ==, NULL); g_free (identity); g_object_get (wcon, "legacy", &jabber, "old-ssl", &oldssl, NULL); |