diff options
author | Álvaro Peña <alvaropg@gmail.com> | 2014-04-14 20:13:19 +0200 |
---|---|---|
committer | Álvaro Peña <alvaropg@gmail.com> | 2014-04-14 20:13:19 +0200 |
commit | 7367e04bbb65bc5e6329a13d75b4c210af5fe305 (patch) | |
tree | 0f5db39be59e388d81da9e24197146cd41c76e3d | |
parent | 77968e1676cc38bb3116242c20ce3497331dfbff (diff) | |
download | libgfbgraph-7367e04bbb65bc5e6329a13d75b4c210af5fe305.tar.gz |
GTest: Improved "Me" test asserting the user ID.
-rw-r--r-- | tests/gtestutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gtestutils.c b/tests/gtestutils.c index e7a9e48..1428095 100644 --- a/tests/gtestutils.c +++ b/tests/gtestutils.c @@ -191,6 +191,8 @@ gfbgraph_test_me (GFBGraphTestFixture *fixture, gconstpointer user_data) g_assert_no_error (error); g_assert (GFBGRAPH_IS_USER (me)); + g_assert_cmpstr (fixture->user_id, ==, gfbgraph_node_get_id (GFBGRAPH_NODE (me))); + g_object_unref (me); } |