aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-08-25 17:17:33 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-08-25 17:17:33 +0200
commitd2e6cfa0750cb38ceef7dc0b8bb31cf3b0387e9c (patch)
treed5bcf544da4a9314da1b5747db35d4e971239ecd
parent284c18073233b3c7e7e027d696465a0e773dc881 (diff)
tests/lang/eval-okay-pathexists: Add cases
-rw-r--r--tests/lang/eval-okay-pathexists.nix4
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