1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

shellcheck fix: tests/functional/toString-path.sh

This commit is contained in:
Farid Zakaria 2025-09-30 20:19:47 -07:00
parent b349783830
commit 799cd62ec8
2 changed files with 2 additions and 3 deletions

View file

@ -2,8 +2,8 @@
source common.sh
mkdir -p $TEST_ROOT/foo
echo bla > $TEST_ROOT/foo/bar
mkdir -p "$TEST_ROOT"/foo
echo bla > "$TEST_ROOT"/foo/bar
[[ $(nix eval --raw --impure --expr "builtins.readFile (builtins.toString (builtins.fetchTree { type = \"path\"; path = \"$TEST_ROOT/foo\"; } + \"/bar\"))") = bla ]]