about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Trinkle <ryan.trinkle@gmail.com>2018-03-30T19·41-0400
committerRyan Trinkle <ryan.trinkle@gmail.com>2018-03-30T19·41-0400
commitf2273b11f5aec82fd4546aff6ff621aeb397f794 (patch)
treee61c4b63b4475033e1144677711a5850361d9564
parent4ee4fda521137fed6af0446948b3877e0c5db803 (diff)
Add test eval-okay-nested-with
-rw-r--r--tests/lang/eval-okay-nested-with.exp1
-rw-r--r--tests/lang/eval-okay-nested-with.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-nested-with.exp b/tests/lang/eval-okay-nested-with.exp
new file mode 100644
index 000000000000..0cfbf08886fc
--- /dev/null
+++ b/tests/lang/eval-okay-nested-with.exp
@@ -0,0 +1 @@
+2
diff --git a/tests/lang/eval-okay-nested-with.nix b/tests/lang/eval-okay-nested-with.nix
new file mode 100644
index 000000000000..ba9d79aa79b1
--- /dev/null
+++ b/tests/lang/eval-okay-nested-with.nix
@@ -0,0 +1,3 @@
+with { x = 1; };
+with { x = 2; };
+x