source/misc/embedded_libs/fmt-11.0.2/test/header-only-test.cc
browsing at commit = 1193b4be29d6c72f0c2ca001a439640401b0c7f6
// Header-only configuration test
#include "fmt/base.h"
#include "fmt/ostream.h"
#include "gtest/gtest.h"
#ifndef FMT_HEADER_ONLY
# error "Not in the header-only mode."
#endif
TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); }