mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-04 07:09:39 +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:
@@ -38,7 +38,7 @@ test_trash_not_supported (void)
|
||||
gchar *parent_dirname;
|
||||
GStatBuf parent_stat, home_stat;
|
||||
|
||||
g_test_bug ("251");
|
||||
g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/251");
|
||||
|
||||
/* The test assumes that tmp file is located on system internal mount. */
|
||||
file = g_file_new_tmp ("test-trashXXXXXX", &stream, &error);
|
||||
@@ -105,7 +105,7 @@ test_trash_symlinks (void)
|
||||
gchar *target, *tmp, *target_over_symlink;
|
||||
GError *error = NULL;
|
||||
|
||||
g_test_bug ("1522");
|
||||
g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/1522");
|
||||
|
||||
target = g_build_filename (g_get_home_dir (), ".local", NULL);
|
||||
|
||||
@@ -204,8 +204,6 @@ main (int argc, char *argv[])
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/issues/");
|
||||
|
||||
g_test_add_func ("/trash/not-supported", test_trash_not_supported);
|
||||
g_test_add_func ("/trash/symlinks", test_trash_symlinks);
|
||||
|
||||
|
Reference in New Issue
Block a user