diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-11-21T13·49+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-11-21T13·49+0000 |
commit | 06f95dd07ce691a1f12c8ec7fa5ad84858d81cd0 (patch) | |
tree | bca2f5bb29b4a6844eb8f35c04d4e9bda7025128 /tests/lang | |
parent | c370755583d7350f4b96136eb0a6a8a7b08551b1 (diff) |
* New primop `readFile' to get the contents of a file as a string.
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/eval-okay-readfile.exp | 1 | ||||
-rw-r--r-- | tests/lang/eval-okay-readfile.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-readfile.exp b/tests/lang/eval-okay-readfile.exp new file mode 100644 index 000000000000..979771c7a320 --- /dev/null +++ b/tests/lang/eval-okay-readfile.exp @@ -0,0 +1 @@ +Str("builtins.readFile ./eval-okay-readfile.nix\n",[]) diff --git a/tests/lang/eval-okay-readfile.nix b/tests/lang/eval-okay-readfile.nix new file mode 100644 index 000000000000..82f7cb17435a --- /dev/null +++ b/tests/lang/eval-okay-readfile.nix @@ -0,0 +1 @@ +builtins.readFile ./eval-okay-readfile.nix |