[gnome-builder] tests/run-context: Adjust order of strings



commit e3e6e9365e4b6a1e32f627348a2537ef5aadd281
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jul 23 20:00:28 2022 -0300

    tests/run-context: Adjust order of strings
    
    The test correctly lists all these options, but the UID and USER
    env vars are in the wrong order. Swap them.

 src/tests/test-run-context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tests/test-run-context.c b/src/tests/test-run-context.c
index ff2ee85b5..676d5cb8e 100644
--- a/src/tests/test-run-context.c
+++ b/src/tests/test-run-context.c
@@ -141,7 +141,7 @@ test_run_context_default_handler (void)
   g_assert_true (IDE_IS_SUBPROCESS_LAUNCHER (launcher));
 
   g_assert_true (g_strv_equal (ide_subprocess_launcher_get_argv (launcher),
-                               IDE_STRV_INIT ("wrapper", "--", "env", "USER=user", "UID=1000", "ls", 
"-lsah")));
+                               IDE_STRV_INIT ("wrapper", "--", "env", "UID=1000", "USER=user", "ls", 
"-lsah")));
   g_assert_true (g_strv_equal (ide_subprocess_launcher_get_environ (launcher),
                                IDE_STRV_INIT ("USER=nobody")));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]