aboutsummaryrefslogtreecommitdiff
path: root/tests/flakes/follow-paths.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/flakes/follow-paths.sh')
-rw-r--r--tests/flakes/follow-paths.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/flakes/follow-paths.sh b/tests/flakes/follow-paths.sh
index 19cc1bafa..fe9b51c65 100644
--- a/tests/flakes/follow-paths.sh
+++ b/tests/flakes/follow-paths.sh
@@ -128,7 +128,7 @@ EOF
git -C $flakeFollowsA add flake.nix
-nix flake lock $flakeFollowsA 2>&1 | grep 'points outside'
+expect 1 nix flake lock $flakeFollowsA 2>&1 | grep 'points outside'
# Non-existant follows should print a warning.
cat >$flakeFollowsA/flake.nix <<EOF