[glib] tests/appinfo: Fix a typo
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests/appinfo: Fix a typo
- Date: Thu, 7 Mar 2013 01:33:16 +0000 (UTC)
commit 155f599b206f67642970e0bc35b3ba5e1386b884
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Mar 6 20:32:14 2013 -0500
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.
gio/tests/appinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/appinfo.c b/gio/tests/appinfo.c
index 8c53212..6507f4b 100644
--- a/gio/tests/appinfo.c
+++ b/gio/tests/appinfo.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]