move tests to std::filesystem::path

This commit is contained in:
pantor
2025-03-31 23:22:36 +02:00
parent 804823dbca
commit 65aa8a669d
4 changed files with 14 additions and 12 deletions

View File

@@ -4,6 +4,8 @@
#define JSON_USE_IMPLICIT_CONVERSIONS 0
#define JSON_NO_IO 1
#include <filesystem>
#include "test-files.cpp"
#include "test-functions.cpp"
#include "test-renderer.cpp"
@@ -12,4 +14,4 @@
#define xstr(s) str(s)
#define str(s) #s
const std::string test_file_directory { xstr(__TEST_DIR__)"/data/" };
const std::filesystem::path test_file_directory { std::filesystem::path(xstr(__TEST_DIR__)) / "data" };