about summary refs log tree commit diff
path: root/tests/lang/eval-okay-fromTOML.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-okay-fromTOML.nix')
-rw-r--r--tests/lang/eval-okay-fromTOML.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-fromTOML.nix b/tests/lang/eval-okay-fromTOML.nix
index 5626ef3382fe..dd9ad9ea122a 100644
--- a/tests/lang/eval-okay-fromTOML.nix
+++ b/tests/lang/eval-okay-fromTOML.nix
@@ -147,6 +147,25 @@
     name = "Nail"
     sku = 284758393
     color = "gray"
+
+    [[fruit]]
+      name = "apple"
+
+      [fruit.physical]
+        color = "red"
+        shape = "round"
+
+      [[fruit.variety]]
+        name = "red delicious"
+
+      [[fruit.variety]]
+        name = "granny smith"
+
+    [[fruit]]
+      name = "banana"
+
+      [[fruit.variety]]
+        name = "plantain"
   '')
 
   (builtins.fromTOML ''