mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 04:28:05 +02:00
Add bug ref
This commit is contained in:
parent
81719cc164
commit
283d4a73f9
@ -755,25 +755,6 @@ test_lists (void)
|
|||||||
g_key_file_free (keyfile);
|
g_key_file_free (keyfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
test_groups (void)
|
|
||||||
{
|
|
||||||
GKeyFile *keyfile;
|
|
||||||
|
|
||||||
const gchar *data =
|
|
||||||
"[1]\n"
|
|
||||||
"key1=123\n"
|
|
||||||
"[2]\n"
|
|
||||||
"key2=123\n";
|
|
||||||
|
|
||||||
keyfile = load_data (data, 0);
|
|
||||||
|
|
||||||
check_string_value (keyfile, "1", "key1", "123");
|
|
||||||
check_string_value (keyfile, "2", "key2", "123");
|
|
||||||
|
|
||||||
g_key_file_free (keyfile);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* http://bugzilla.gnome.org/show_bug.cgi?id=165887 */
|
/* http://bugzilla.gnome.org/show_bug.cgi?id=165887 */
|
||||||
static void
|
static void
|
||||||
test_group_remove (void)
|
test_group_remove (void)
|
||||||
@ -879,6 +860,27 @@ test_key_remove (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* http://bugzilla.gnome.org/show_bug.cgi?id=316309 */
|
||||||
|
static void
|
||||||
|
test_groups (void)
|
||||||
|
{
|
||||||
|
GKeyFile *keyfile;
|
||||||
|
|
||||||
|
const gchar *data =
|
||||||
|
"[1]\n"
|
||||||
|
"key1=123\n"
|
||||||
|
"[2]\n"
|
||||||
|
"key2=123\n";
|
||||||
|
|
||||||
|
keyfile = load_data (data, 0);
|
||||||
|
|
||||||
|
check_string_value (keyfile, "1", "key1", "123");
|
||||||
|
check_string_value (keyfile, "2", "key2", "123");
|
||||||
|
|
||||||
|
g_key_file_free (keyfile);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user