test/*: fix Windows build using class FromNarrowPath
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "config/Param.hxx"
|
||||
#include "config/File.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/NarrowPath.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
@@ -36,7 +36,7 @@ try {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
const Path config_path = Path::FromFS(argv[1]);
|
||||
const FromNarrowPath config_path = argv[1];
|
||||
const char *name = argv[2];
|
||||
|
||||
const auto option = ParseConfigOptionName(name);
|
||||
|
Reference in New Issue
Block a user