[gnome-builder] tests: do name check since symbol is now in a plugin



commit 17078eb0508ef2fa7121bbc86547cb23b48b93f1
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 13 12:06:17 2016 -0800

    tests: do name check since symbol is now in a plugin

 tests/test-ide-context.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-ide-context.c b/tests/test-ide-context.c
index 26acaba..e7a92c4 100644
--- a/tests/test-ide-context.c
+++ b/tests/test-ide-context.c
@@ -18,7 +18,6 @@
 
 #include <ide.h>
 
-#include "gb-plugins.h"
 #include "test-helper.h"
 
 typedef struct
@@ -72,7 +71,7 @@ test_new_async (void)
   g_assert_cmpstr (G_OBJECT_TYPE_NAME (bs), ==, "IdeAutotoolsBuildSystem");
 
   vcs = ide_context_get_vcs (state.context);
-  g_assert (IDE_IS_GIT_VCS (vcs));
+  g_assert_cmpstr (G_OBJECT_TYPE_NAME (vcs), ==, "IdeGitVcs");
 
   root_build_dir = ide_context_get_root_build_dir (state.context);
   g_assert (g_str_has_suffix (root_build_dir, "/libide/builds"));


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