From ebb301f4d3a99e3cae3de6094231058bcbcee54c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 13 Nov 2022 20:00:40 +0100 Subject: test: prevent crapping in outside build dir --- test/json.cpp | 1 + 1 file changed, 1 insertion(+) 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}); -- cgit v1.2.3