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