mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
tests: Drop use of g_test_bug_base()
Include the base URI in the `g_test_bug()` calls instead. This resolves inconsistencies between the old bug base (bugzilla.gnome.org) and the new bug base (gitlab.gnome.org). It also has the advantage that the URI passed to `g_test_bug()` is now clickable in the code editor, rather than being split across two locations. See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/275#note_303175 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -322,7 +322,7 @@ properties_construct (void)
|
||||
gboolean b;
|
||||
gchar *s;
|
||||
|
||||
g_test_bug ("630357");
|
||||
g_test_bug ("https://bugzilla.gnome.org/show_bug.cgi?id=630357");
|
||||
|
||||
/* more than 16 args triggers a realloc in g_object_new_valist() */
|
||||
obj = g_object_new (test_object_get_type (),
|
||||
@@ -638,8 +638,6 @@ main (int argc, char *argv[])
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
g_test_bug_base ("http://bugzilla.gnome.org/");
|
||||
|
||||
g_test_add_func ("/properties/install", properties_install);
|
||||
g_test_add_func ("/properties/notify", properties_notify);
|
||||
g_test_add_func ("/properties/notify-queue", properties_notify_queue);
|
||||
|
Reference in New Issue
Block a user