about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-03-25T18·58+0100
committerGitHub <noreply@github.com>2019-03-25T18·58+0100
commit5c05c238e60998b9fd276b3c4a39c860dc291200 (patch)
tree0291bf82b32516f682b438eafb0bd39047abe211 /tests
parent63e7fc509628874bf60d9e436af387bfb1bc00a5 (diff)
parent514b3c7f8345cfcbbe166981214497ed9d93ae18 (diff)
Merge pull request #1828 from zimbatm/isPath
Add isPath primop
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-types.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-types.nix b/tests/lang/eval-okay-types.nix
index a34775f5e602..9b58be5d1dd4 100644
--- a/tests/lang/eval-okay-types.nix
+++ b/tests/lang/eval-okay-types.nix
@@ -20,6 +20,8 @@ with builtins;
   (isFloat (1 - 2.0))
   (isBool (true && false))
   (isBool null)
+  (isPath /nix/store)
+  (isPath ./.)
   (isAttrs { x = 123; })
   (isAttrs null)
   (typeOf (3 * 4))