git repos / blockattack-game

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

browsing at commit = f65ed23e760ab1682ad8a9ee70d3db6f7d7ab28e

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