!fixup get rid of trailing comment hack
This commit is contained in:
parent
4048b39fc1
commit
66454f0e5a
|
@ -74,9 +74,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
${client}.succeed(
|
${client}.succeed(
|
||||||
"grep '${msg other}$' ${iiDir}/${server}/#${channel}/out"
|
"grep '${msg other}$' ${iiDir}/${server}/#${channel}/out"
|
||||||
)
|
)
|
||||||
'') clients ++ [
|
'') clients;
|
||||||
"# trailing comment to please reformatter :)"
|
|
||||||
];
|
|
||||||
|
|
||||||
# foldl', but requires a non-empty list instead of a start value
|
# foldl', but requires a non-empty list instead of a start value
|
||||||
reduce = f: list:
|
reduce = f: list:
|
||||||
|
@ -88,9 +86,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
# run clientScript for all clients so that every list
|
# run clientScript for all clients so that every list
|
||||||
# entry is executed by every client before advancing
|
# entry is executed by every client before advancing
|
||||||
# to the next one.
|
# to the next one.
|
||||||
${lib.concatStringsSep "\n"
|
'' + lib.concatStrings
|
||||||
(reduce
|
(reduce
|
||||||
(a: b: lib.zipListsWith (cs: c: cs + "\n" + c) a b)
|
(a: b: lib.zipListsWith (cs: c: cs + "\n" + c) a b)
|
||||||
(builtins.map clientScript clients))}
|
(builtins.map clientScript clients));
|
||||||
'';
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue