about summary refs log tree commit diff
path: root/tests/lang/eval-okay-fromTOML.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-24T15·09+0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-24T15·09+0200
commit94f11d0a61bba15ff8a93f2de8d1883783c8c508 (patch)
tree82123ffdd10ecff586c8775bf484d0c73be46de8 /tests/lang/eval-okay-fromTOML.nix
parent99cec651c9c1d95656e182871f0bb186f798077c (diff)
Fix abort in fromTOML
Fixes #2969.
Diffstat (limited to 'tests/lang/eval-okay-fromTOML.nix')
-rw-r--r--tests/lang/eval-okay-fromTOML.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-fromTOML.nix b/tests/lang/eval-okay-fromTOML.nix
index dd9ad9ea122a..963932689942 100644
--- a/tests/lang/eval-okay-fromTOML.nix
+++ b/tests/lang/eval-okay-fromTOML.nix
@@ -198,4 +198,11 @@
     "checksum ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "23ac7c30002a5accbf7e8987d0632fa6de155b7c3d39d0067317a391e00a2ef6"
     "checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef"
   '')
+
+  (builtins.fromTOML ''
+    a = [[{ b = true }]]
+    c = [ [ { d = true } ] ]
+    e = [[123]]
+  '')
+
 ]