about summary refs log tree commit diff
path: root/tests/lang/eval-okay-concatstringssep.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-okay-concatstringssep.nix')
-rw-r--r--tests/lang/eval-okay-concatstringssep.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-concatstringssep.nix b/tests/lang/eval-okay-concatstringssep.nix
new file mode 100644
index 000000000000..adc4c41bd551
--- /dev/null
+++ b/tests/lang/eval-okay-concatstringssep.nix
@@ -0,0 +1,8 @@
+with builtins;
+
+[ (concatStringsSep "" [])
+  (concatStringsSep "" ["foo" "bar" "xyzzy"])
+  (concatStringsSep ", " ["foo" "bar" "xyzzy"])
+  (concatStringsSep ", " ["foo"])
+  (concatStringsSep ", " [])
+]