mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +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 {
|
||||
const gchar *name;
|
||||
const gchar *opt;
|
||||
const gchar *stderr;
|
||||
const gchar *err;
|
||||
} SchemaTest;
|
||||
|
||||
static void
|
||||
@ -32,10 +32,10 @@ test_schema (gpointer data)
|
||||
g_free (filename);
|
||||
g_free (path);
|
||||
}
|
||||
if (test->stderr)
|
||||
if (test->err)
|
||||
{
|
||||
g_test_trap_assert_failed ();
|
||||
g_test_trap_assert_stderr (test->stderr);
|
||||
g_test_trap_assert_stderr (test->err);
|
||||
}
|
||||
else
|
||||
g_test_trap_assert_passed();
|
||||
|
Loading…
Reference in New Issue
Block a user