1 { runCommand, concatText, writeText, hello, emptyFile }:
3 stri = writeText "pathToTest";
5 txt2 = stri (builtins.toString hello);
6 res = concatText "textToTest" [ txt1 txt2 ];
8 runCommand "test-concatPaths" { } ''
9 diff -U3 <(cat ${txt1} ${txt2}) ${res}
10 diff -U3 ${concatText "void" []} ${emptyFile}