mirror of
https://github.com/pantor/inja.git
synced 2026-02-28 06:16:24 +00:00
move tests to std::filesystem::path
This commit is contained in:
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user