diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-23 14:51:32 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-23 14:51:32 +0000 |
commit | 71be50cc25544f742db2275b4621b92c4e938400 (patch) | |
tree | 44e522edc976d78ca8cf196e9722406d4eb174a4 /tests/lang | |
parent | 3bfd3a4e9511e16d8a826cb271fc95acc2fb9845 (diff) | |
download | guix-71be50cc25544f742db2275b4621b92c4e938400.tar.gz |
* Doh.
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/eval-okay-with.exp | 20 | ||||
-rw-r--r-- | tests/lang/eval-okay-with.nix | 8 |
2 files changed, 8 insertions, 20 deletions
diff --git a/tests/lang/eval-okay-with.exp b/tests/lang/eval-okay-with.exp index 033e8d3aba..2c9bd8ba0e 100644 --- a/tests/lang/eval-okay-with.exp +++ b/tests/lang/eval-okay-with.exp @@ -1,19 +1 @@ -let { - - a = "xyzzy"; - - as = { - a = "foo"; - b = "bar"; - }; - - bs = { - a = "bar"; - }; - - x = with as; a + b; - - y = with as; with bs; a + b; - - body = x + y; -} +Str("xyzzybarxyzzybar",[]) diff --git a/tests/lang/eval-okay-with.nix b/tests/lang/eval-okay-with.nix index ea4ea612de..033e8d3aba 100644 --- a/tests/lang/eval-okay-with.nix +++ b/tests/lang/eval-okay-with.nix @@ -7,7 +7,13 @@ let { b = "bar"; }; + bs = { + a = "bar"; + }; + x = with as; a + b; - body = x; + y = with as; with bs; a + b; + + body = x + y; } |