[glib/2325-symlink-replace-file: 2/7] tests: Stop using g_test_bug_base() in file tests




commit 5f2eae1156172fe45e436afc164bf13b5f00188a
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Feb 24 17:34:32 2021 +0000

    tests: Stop using g_test_bug_base() in file tests
    
    Since a following commit is going to add a new test which references
    Gitlab, so it’s best to move the URI bases inside the test cases.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/tests/file.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gio/tests/file.c b/gio/tests/file.c
index 0de2b3a1f..a89c4e6b1 100644
--- a/gio/tests/file.c
+++ b/gio/tests/file.c
@@ -686,7 +686,7 @@ test_replace_cancel (void)
   guint count;
   GError *error = NULL;
 
-  g_test_bug ("629301");
+  g_test_bug ("https://bugzilla.gnome.org/629301";);
 
   path = g_dir_make_tmp ("g_file_replace_cancel_XXXXXX", &error);
   g_assert_no_error (error);
@@ -1858,8 +1858,6 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("http://bugzilla.gnome.org/";);
-
   g_test_add_func ("/file/basic", test_basic);
   g_test_add_func ("/file/build-filename", test_build_filename);
   g_test_add_func ("/file/parent", test_parent);


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