Empty arrays join/1 to an empty string, fixes #668 bug introduced by 9760245

This commit is contained in:
Joel Purra committed 2015-01-14 12:27:55 +01:00
1 parent aeb52e29d6
commit 4d05dc55a3
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -328,8 +328,8 @@ join(",","/")
"a/b/c/d"
[.[]|join("a")]
[[""],["",""],["","",""]]
["","a","aa"]
[[],[""],["",""],["","",""]]
["","","a","aa"]
# Same check for flatten/1
flatten(-1,3,2,1)