mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
Can't use stderr as a field name
This commit is contained in:
parent
93d300742d
commit
da306296cf
@ -8,7 +8,7 @@
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
const gchar *name;
|
const gchar *name;
|
||||||
const gchar *opt;
|
const gchar *opt;
|
||||||
const gchar *stderr;
|
const gchar *err;
|
||||||
} SchemaTest;
|
} SchemaTest;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -32,10 +32,10 @@ test_schema (gpointer data)
|
|||||||
g_free (filename);
|
g_free (filename);
|
||||||
g_free (path);
|
g_free (path);
|
||||||
}
|
}
|
||||||
if (test->stderr)
|
if (test->err)
|
||||||
{
|
{
|
||||||
g_test_trap_assert_failed ();
|
g_test_trap_assert_failed ();
|
||||||
g_test_trap_assert_stderr (test->stderr);
|
g_test_trap_assert_stderr (test->err);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
g_test_trap_assert_passed();
|
g_test_trap_assert_passed();
|
||||||
|
Loading…
Reference in New Issue
Block a user