aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/fmt/test/header-only-test.cc
blob: 570f09a563a760004337d54b39f50697fc127d74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Header-only configuration test

#include "fmt/core.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"); }