mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Improve GInitable test coverage
This just adds a bit more variety to the uses of GInitiable in other tests.
This commit is contained in:
@@ -243,7 +243,7 @@ test_default (void)
|
||||
m = g_network_monitor_get_default ();
|
||||
g_assert (G_IS_NETWORK_MONITOR (m));
|
||||
|
||||
monitor = g_initable_new (G_TYPE_NETWORK_MONITOR_BASE, NULL, &error, NULL);
|
||||
monitor = g_initable_newv (G_TYPE_NETWORK_MONITOR_BASE, 0, NULL, NULL, &error);
|
||||
g_assert_no_error (error);
|
||||
|
||||
/* In the default configuration, all addresses are reachable */
|
||||
|
Reference in New Issue
Block a user