lib: init strings.join
This commit is contained in:
@@ -69,6 +69,7 @@ let
|
||||
id
|
||||
ifilter0
|
||||
isStorePath
|
||||
join
|
||||
lazyDerivation
|
||||
length
|
||||
lists
|
||||
@@ -435,6 +436,15 @@ runTests {
|
||||
|
||||
# STRINGS
|
||||
|
||||
testJoin = {
|
||||
expr = join "," [
|
||||
"a"
|
||||
"b"
|
||||
"c"
|
||||
];
|
||||
expected = "a,b,c";
|
||||
};
|
||||
|
||||
testConcatMapStrings = {
|
||||
expr = concatMapStrings (x: x + ";") [
|
||||
"a"
|
||||
|
||||
Reference in New Issue
Block a user