mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-09-20 09:16:15 +02:00
tests/appinfo: Fix a typo
The environment variable name is BLA, not BAR, so if BAR is set for some strange reason, the test fails.
This commit is contained in:
parent
717e933e72
commit
155f599b20
@ -328,7 +328,7 @@ test_environment (void)
|
||||
env = g_app_launch_context_get_environment (ctx);
|
||||
|
||||
g_assert (g_environ_getenv (env, "FOO") == NULL);
|
||||
g_assert (g_environ_getenv (env, "BAR") == NULL);
|
||||
g_assert (g_environ_getenv (env, "BLA") == NULL);
|
||||
g_assert_cmpstr (g_environ_getenv (env, "PATH"), ==, path);
|
||||
|
||||
g_strfreev (env);
|
||||
|
Loading…
Reference in New Issue
Block a user