about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-04-23T12·43-0400
committerShea Levy <shea@shealevy.com>2018-04-23T12·43-0400
commit0aae411eaa0588553af54cc096baefd6e9cacb51 (patch)
tree1aee2ace094caeff95aed5c5ddd636485315be80 /tests
parent25f580ee7547ec3d5ebd00fbec2297f91ec11c3c (diff)
parentf2273b11f5aec82fd4546aff6ff621aeb397f794 (diff)
Merge branch 'add-test-eval-okay-nested-with' of git://github.com/ryantrinkle/nix
Diffstat (limited to 'tests')
-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