[libpeas] Fix tests after glib string change



commit cff159bccc584494059670dd24120522988199ff
Author: Garrett Regier <garrettregier gmail com>
Date:   Tue May 21 14:42:06 2013 -0700

    Fix tests after glib string change
    
    The strings used to use `really dumb quote' and now use
    'dumb quotes'.
    
    https://git.gnome.org/browse/glib/commit/?id=4b94c0831e449374ce769cb4938a28b3dca59a43

 tests/libpeas-gtk/testing/testing.c       |    2 +-
 tests/libpeas/extension-set.c             |    2 +-
 tests/libpeas/testing/testing-extension.c |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/libpeas-gtk/testing/testing.c b/tests/libpeas-gtk/testing/testing.c
index 7a5d2ea..a3a070e 100644
--- a/tests/libpeas-gtk/testing/testing.c
+++ b/tests/libpeas-gtk/testing/testing.c
@@ -43,7 +43,7 @@ testing_init (gint    *argc,
 
   gtk_test_init (argc, argv, NULL);
 
-  /* Must be after gtk_test_init() changes the log settings*/
+  /* Must be after gtk_test_init() changes the log settings */
   testing_util_init ();
 
   g_irepository_prepend_search_path (BUILDDIR "/libpeas-gtk");
diff --git a/tests/libpeas/extension-set.c b/tests/libpeas/extension-set.c
index bbb9668..38bcea4 100644
--- a/tests/libpeas/extension-set.c
+++ b/tests/libpeas/extension-set.c
@@ -114,7 +114,7 @@ test_extension_set_create_invalid (PeasEngine *engine)
 {
   PeasExtensionSet *extension_set;
 
-  testing_util_push_log_hook ("*assertion `G_TYPE_IS_INTERFACE (*)' failed");
+  testing_util_push_log_hook ("*assertion*G_TYPE_IS_INTERFACE*failed");
   testing_util_push_log_hook ("*type 'PeasActivatable' has no property named 'invalid-property'");
 
   /* Invalid GType */
diff --git a/tests/libpeas/testing/testing-extension.c b/tests/libpeas/testing/testing-extension.c
index c1efd53..7fde1d4 100644
--- a/tests/libpeas/testing/testing-extension.c
+++ b/tests/libpeas/testing/testing-extension.c
@@ -100,7 +100,7 @@ test_extension_provides_invalid (PeasEngine     *engine,
                                  PeasPluginInfo *info)
 {
 
-  testing_util_push_log_hook ("*assertion `G_TYPE_IS_INTERFACE (*)' failed");
+  testing_util_push_log_hook ("*assertion*G_TYPE_IS_INTERFACE*failed");
 
   /* Invalid GType */
   peas_engine_provides_extension (engine, info, G_TYPE_INVALID);
@@ -142,10 +142,10 @@ test_extension_create_invalid (PeasEngine     *engine,
 {
   PeasExtension *extension;
 
-  testing_util_push_log_hook ("*assertion `G_TYPE_IS_INTERFACE (*)' failed");
+  testing_util_push_log_hook ("*assertion*G_TYPE_IS_INTERFACE*failed");
   testing_util_push_log_hook ("*does not provide a 'IntrospectionUnimplemented' extension");
   testing_util_push_log_hook ("*type 'IntrospectionCallable' has no property named 'invalid-property'");
-  testing_util_push_log_hook ("*assertion `peas_plugin_info_is_loaded (*)' failed");
+  testing_util_push_log_hook ("*assertion*peas_plugin_info_is_loaded*failed");
 
   /* Invalid GType */
   extension = peas_engine_create_extension (engine, info, G_TYPE_INVALID, NULL);


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