diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-08-25 17:17:33 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-08-25 17:17:33 +0200 |
commit | d2e6cfa0750cb38ceef7dc0b8bb31cf3b0387e9c (patch) | |
tree | d5bcf544da4a9314da1b5747db35d4e971239ecd /tests | |
parent | 284c18073233b3c7e7e027d696465a0e773dc881 (diff) |
tests/lang/eval-okay-pathexists: Add cases
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/eval-okay-pathexists.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-pathexists.nix b/tests/lang/eval-okay-pathexists.nix index 50c28ee0c..8eae37e70 100644 --- a/tests/lang/eval-okay-pathexists.nix +++ b/tests/lang/eval-okay-pathexists.nix @@ -1,4 +1,6 @@ -builtins.pathExists (builtins.toPath ./lib.nix) +builtins.pathExists (./lib.nix) +&& builtins.pathExists (builtins.toPath ./lib.nix) +&& builtins.pathExists (builtins.toString ./lib.nix) && builtins.pathExists (builtins.toPath (builtins.toString ./lib.nix)) && !builtins.pathExists (builtins.toPath (builtins.toString ./bla.nix)) && builtins.pathExists ./lib.nix |