[glib/wip/oholy/fix-trash-symlink: 107/110] glocalfile: Fix bug uri in trash test



commit ce9fa7a172951e304c1c1bdeea71708a953a15c1
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Sep 14 14:53:30 2018 +0200

    glocalfile: Fix bug uri in trash test
    
    Fix typo in g_test_bug_base and move g_test_bug in the concrete test.

 gio/tests/trash.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/trash.c b/gio/tests/trash.c
index 176c4b9c3..b586f16f9 100644
--- a/gio/tests/trash.c
+++ b/gio/tests/trash.c
@@ -38,6 +38,8 @@ test_trash_not_supported (void)
   gchar *parent_dirname;
   GStatBuf parent_stat, home_stat;
 
+  g_test_bug ("251");
+
   /* The test assumes that tmp file is located on system internal mount. */
   file = g_file_new_tmp ("test-trashXXXXXX", &stream, &error);
   parent_dirname = g_path_get_dirname (g_file_peek_path (file));
@@ -99,8 +101,7 @@ main (int argc, char *argv[])
 {
   g_test_init (&argc, &argv, NULL);
 
-  g_test_bug_base ("htps://gitlab.gnome.org/GNOME/glib/issues/");
-  g_test_bug ("251");
+  g_test_bug_base ("https://gitlab.gnome.org/GNOME/glib/issues/";);
 
   g_test_add_func ("/trash/not-supported", test_trash_not_supported);
 


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