mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
tests/lang/eval-okay-pathexists: Add cases
This commit is contained in:
parent
284c180732
commit
d2e6cfa075
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user