aboutsummaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-12-24 14:16:09 -0600
committerGitHub <noreply@github.com>2020-12-24 14:16:09 -0600
commitede534a3a1aabc574a9fefe268a0a7a97a73138b (patch)
tree142c4393bc76c020c3f902618cf757762e963475 /tests/lang
parentd4870462f8f539adeaa6dca476aff6f1f31e1981 (diff)
parenta93916b1905cd7b968e92cd94a3e4a595bff2e0f (diff)
Merge branch 'master' into support-libcxx10
Diffstat (limited to 'tests/lang')
-rw-r--r--tests/lang/eval-okay-search-path.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lang/eval-okay-search-path.nix b/tests/lang/eval-okay-search-path.nix
index c5a123d04..6fe33decc 100644
--- a/tests/lang/eval-okay-search-path.nix
+++ b/tests/lang/eval-okay-search-path.nix
@@ -1,10 +1,9 @@
with import ./lib.nix;
with builtins;
-assert pathExists <nix/fetchurl.nix>;
+assert isFunction (import <nix/fetchurl.nix>);
-assert length __nixPath == 6;
-assert length (filter (x: x.prefix == "nix") __nixPath) == 1;
+assert length __nixPath == 5;
assert length (filter (x: baseNameOf x.path == "dir4") __nixPath) == 1;
import <a.nix> + import <b.nix> + import <c.nix> + import <dir5/c.nix>