summaryrefslogtreecommitdiffhomepage
path: root/test/json.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 20:32:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 20:32:24 +0200
commitccc6b7fcb08f5a5713c2ac74a28113814b4c70b4 (patch)
tree3f06113a5129211368df688f243eac7451a41bec /test/json.cpp
parent5d0b65de8f9e95fe813037ab5435fe547d406adc (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 a47f08ac..d237c674 100644
--- a/test/json.cpp
+++ b/test/json.cpp
@@ -1,6 +1,7 @@
#include "app.hpp"
#include "serialize/tile-atlas.hpp"
#include "serialize/magnum-vector.hpp"
+#include "serialize/tile.hpp"
#include "serialize/json-helper.hpp"
#include "compat/assert.hpp"
#include "tile-atlas.hpp"
@@ -23,8 +24,7 @@ bool app::test_json() // NOLINT(readability-convert-member-functions-to-static)
ret &= json_helper::to_json(v2i_1, output_dir/"vec2i_1.json");
ret &= json_helper::to_json(v2i_2, output_dir/"vec2i_2.json");
}
- ASSERT(ret);
- return 0;
+ return ret;
}
} // namespace Magnum::Examples