From 48ea8193df8a658f9d036022ae8553bae775d5e7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 11 Oct 2020 08:24:17 -0700 Subject: [PATCH] Explain why assert-test is a separate test --- test/assert-test.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/assert-test.cc b/test/assert-test.cc index bc728b53..70efa381 100644 --- a/test/assert-test.cc +++ b/test/assert-test.cc @@ -1,4 +1,8 @@ -// Formatting library for C++ - assertion tests +// Formatting library for C++ - FMT_ASSERT test +// +// It is a separate test to minimize the number of EXPECT_DEBUG_DEATH checks +// which are slow on some platforms. In other tests FMT_ASSERT is made to throw +// an exception which is much faster and easier to check. // // Copyright (c) 2012 - present, Victor Zverovich // All rights reserved.