From 5361b78771fb6605b5df78aa2dbff560cb1ce44e Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 31 Oct 2026 09:54:17 +0000 Subject: doc: require StringMaker instead of formatter for test printing --- libs/kstd/kstd/test_support/string_makers.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/kstd') diff --git a/libs/kstd/kstd/test_support/string_makers.hpp b/libs/kstd/kstd/test_support/string_makers.hpp index c2c6a38a..46d270f9 100644 --- a/libs/kstd/kstd/test_support/string_makers.hpp +++ b/libs/kstd/kstd/test_support/string_makers.hpp @@ -7,9 +7,9 @@ //! so that failed assertions show the actual values. It is force-included into every test translation unit by the //! build system and must therefore never be included by kernel code. //! -//! Any type with a kstd::formatter specialization is printed via kstd::format, so the easiest way to make a type -//! printable in tests is to give it a formatter. Types without a formatter can get a Catch::StringMaker specialization -//! here, or in the test support header of the library they belong to. +//! Types that already have a kstd::formatter specialization are printed via kstd::format. All other types get a +//! Catch::StringMaker specialization here, or in the test support header of the library they belong to. Kernel code +//! must never be changed just to make a type printable in tests. #include #include -- cgit v1.2.3