test/*: fix Windows build using class FromNarrowPath

This commit is contained in:
Max Kellermann
2020-04-02 16:40:18 +02:00
parent 4d453a8313
commit 9c66b0414a
12 changed files with 30 additions and 19 deletions

View File

@@ -18,6 +18,7 @@
*/
#include "fs/io/FileOutputStream.hxx"
#include "fs/NarrowPath.hxx"
#include "util/PrintException.hxx"
#include <unistd.h>
@@ -54,7 +55,7 @@ try {
return EXIT_FAILURE;
}
const Path path = Path::FromFS(argv[1]);
const FromNarrowPath path = argv[1];
FileOutputStream fos(path);