From 05a63253879ce0bcc273a556985fdf1b6be2bfd5 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 21 Oct 2022 15:03:02 +0200 Subject: [PATCH] test_gc: correct use of use_nix --arg --- tests/test_gc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_gc.py b/tests/test_gc.py index 12240b6..3593f22 100644 --- a/tests/test_gc.py +++ b/tests/test_gc.py @@ -64,7 +64,9 @@ def test_use_nix(direnv_project: DirenvProject) -> None: direnv_project.setup_envrc("use nix") common_test(direnv_project) - direnv_project.setup_envrc("use nix --argstr 'echo Executing hijacked shellHook.'") + direnv_project.setup_envrc( + "use nix --argstr shellHook 'echo Executing hijacked shellHook.'" + ) common_test_clean(direnv_project)