aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-shell.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-08 17:12:01 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-09 00:32:55 +0200
commitb1cfe8f984145c836c1dab229c1117d6396a4305 (patch)
treebf6e6970dcb7a5184a729abbfebf8eb57e013ee4 /tests/nix-shell.sh
parentd2b8b23ae9dfa3be25fba1cf407090c2fb10c5e6 (diff)
nix develop: Add a test for arrays
Diffstat (limited to 'tests/nix-shell.sh')
-rw-r--r--tests/nix-shell.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/nix-shell.sh b/tests/nix-shell.sh
index 3481c2c69..aae7cbcde 100644
--- a/tests/nix-shell.sh
+++ b/tests/nix-shell.sh
@@ -98,3 +98,4 @@ nix_develop -f shell.nix shellDrv -c echo foo |& grep -q foo
# Test 'nix print-dev-env'.
source <(nix print-dev-env -f shell.nix shellDrv)
[[ -n $stdenv ]]
+[[ ${arr1[2]} = "3 4" ]]