diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-30T18·05+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-30T18·05+0000 |
commit | 47df476daa568af9f645b6a039c028e602a7e44b (patch) | |
tree | dcdef8f161a8f0ecd522cedfaf1d1c8d6e431ca3 /src/libexpr/eval-test.cc | |
parent | c9170be2bd2e735b37db7e7b4ccaca86835cb5c5 (diff) |
* More operators / primops.
Diffstat (limited to 'src/libexpr/eval-test.cc')
-rw-r--r-- | src/libexpr/eval-test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval-test.cc b/src/libexpr/eval-test.cc index e4e70c38caa0..ff94e3ce1612 100644 --- a/src/libexpr/eval-test.cc +++ b/src/libexpr/eval-test.cc @@ -72,6 +72,7 @@ void run(Strings args) //doTest("import ./foo.nix"); doTest("map (x: __add 1 x) [ 1 2 3 ]"); doTest("map (builtins.add 1) [ 1 2 3 ]"); + doTest("builtins.hasAttr \"x\" { x = 1; }"); } |