empathy r2836 - trunk/tests



Author: xclaesse
Date: Thu Apr 16 10:00:07 2009
New Revision: 2836
URL: http://svn.gnome.org/viewvc/empathy?rev=2836&view=rev

Log:
coding style fixes

From: Guillaume Desmottes <gdesmott gnome org>

Modified:
   trunk/tests/check-empathy-irc-network-manager.c
   trunk/tests/check-helpers.c

Modified: trunk/tests/check-empathy-irc-network-manager.c
==============================================================================
--- trunk/tests/check-empathy-irc-network-manager.c	(original)
+++ trunk/tests/check-empathy-irc-network-manager.c	Thu Apr 16 10:00:07 2009
@@ -53,7 +53,7 @@
   g_object_get (networks->data, "name", &name, NULL);
   fail_if (name == NULL || strcmp (name, "My Network") != 0);
   g_free (name);
-  g_object_get (g_slist_next(networks)->data, "name", &name, NULL);
+  g_object_get (g_slist_next (networks)->data, "name", &name, NULL);
   fail_if (name == NULL || strcmp (name, "My Network") != 0);
   g_free (name);
   g_slist_foreach (networks, (GFunc) g_object_unref, NULL);

Modified: trunk/tests/check-helpers.c
==============================================================================
--- trunk/tests/check-helpers.c	(original)
+++ trunk/tests/check-helpers.c	Thu Apr 16 10:00:07 2009
@@ -38,7 +38,7 @@
 
   if (!expecting_critical)
     {
-      fail("Unexpected critical message: %s\n", message);
+      fail ("Unexpected critical message: %s\n", message);
     }
 
   g_assert (log_level & G_LOG_LEVEL_CRITICAL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]