summaryrefslogtreecommitdiffhomepage
path: root/test/json.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-07 10:10:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-07 10:10:01 +0200
commit7740c71ecedd90f9b465dc35994e64915dbda826 (patch)
tree787b64948b03e64bbb6a655297889e757012354a /test/json.cpp
parent853049b279fa5adb3522bba671188247a1bc7141 (diff)
a
Diffstat (limited to 'test/json.cpp')
-rw-r--r--test/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json.cpp b/test/json.cpp
index b98c9ae2..cec6724e 100644
--- a/test/json.cpp
+++ b/test/json.cpp
@@ -33,7 +33,7 @@ static chunk make_test_chunk()
bool app::test_json() // NOLINT(readability-convert-member-functions-to-static)
{
bool ret = true;
- const std::filesystem::path output_dir = "../test/";
+ const std::filesystem::path output_dir = "../test/.";
{
auto atlas = loader.tile_atlas("share/game/images/metal1.tga", {2, 2});
ret &= json_helper::to_json(atlas, output_dir/"atlas.json");
@@ -50,7 +50,7 @@ bool app::test_json() // NOLINT(readability-convert-member-functions-to-static)
}
{
const auto chunk = make_test_chunk();
- ret &= json_helper::to_json(chunk, output_dir/"chunk-1.json");
+ ret &= json_helper::to_json(chunk, output_dir/"zzz_chunk-1.json");
}
return ret;
}