diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-13 20:00:40 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-13 20:43:16 +0100 |
commit | ebb301f4d3a99e3cae3de6094231058bcbcee54c (patch) | |
tree | d45af624e67e0a03a5fc063f9c60babe646bbe74 | |
parent | 2f50b70891986bbb434fd211baba472025f92e53 (diff) |
test: prevent crapping in outside build dir
-rw-r--r-- | test/json.cpp | 1 |
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}); |