aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/fmt/test/header-only-test.cc
blob: 8c99f857bbf7a172376a3c56cdc73774842ae441 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// 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"); }