[Telepathy-commits] [telepathy-glib/master] callable-example test: remove a couple of duplicated assertions

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Mar 18 11:20:01 PDT 2009


---
 tests/dbus/callable-example.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/tests/dbus/callable-example.c b/tests/dbus/callable-example.c
index b699968..734a8da 100644
--- a/tests/dbus/callable-example.c
+++ b/tests/dbus/callable-example.c
@@ -677,8 +677,6 @@ test_basics (Test *test,
       test->audio_stream_id);
   g_assert_cmpuint (g_value_get_uint (audio_info->values + 1), ==,
       tp_channel_get_handle (test->chan, NULL));
-  g_assert_cmpuint (g_value_get_uint (audio_info->values + 1), ==,
-      tp_channel_get_handle (test->chan, NULL));
   g_assert_cmpuint (g_value_get_uint (audio_info->values + 2), ==,
       TP_MEDIA_STREAM_TYPE_AUDIO);
   /* Don't assert about the state or the direction here - it might already have
@@ -809,8 +807,6 @@ test_basics (Test *test,
 
   g_assert_cmpuint (g_value_get_uint (video_info->values + 1), ==,
       tp_channel_get_handle (test->chan, NULL));
-  g_assert_cmpuint (g_value_get_uint (video_info->values + 1), ==,
-      tp_channel_get_handle (test->chan, NULL));
   g_assert_cmpuint (g_value_get_uint (video_info->values + 2), ==,
       TP_MEDIA_STREAM_TYPE_VIDEO);
   g_assert_cmpuint (g_value_get_uint (video_info->values + 3), ==,
-- 
1.5.6.5




More information about the telepathy-commits mailing list