git repos / blockattack-game

source/misc/embedded_libs/fmt-11.0.2/test/header-only-test.cc

browsing at commit = 47fd5c32fce57b95ce891d4fc3a8bd2116e4785a

raw · blame · history

// 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"); }