mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01: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:
parent
243bec9d0d
commit
e021bb9101
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user