summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-13 20:00:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-13 20:43:16 +0100
commitebb301f4d3a99e3cae3de6094231058bcbcee54c (patch)
treed45af624e67e0a03a5fc063f9c60babe646bbe74 /test
parent2f50b70891986bbb434fd211baba472025f92e53 (diff)
test: prevent crapping in outside build dir
Diffstat (limited to 'test')
-rw-r--r--test/json.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/json.cpp b/test/json.cpp
index 3b099e47..c304d3d2 100644
--- a/test/json.cpp
+++ b/test/json.cpp
@@ -34,6 +34,7 @@ static chunk make_test_chunk()
bool test_app::test_json() // NOLINT(readability-convert-member-functions-to-static)
{
+ fm_assert(Path::exists("../CMakeCache.txt"));
constexpr auto output_dir = "../test/."_s;
{
auto atlas = loader.tile_atlas("metal1", {2, 2});