]> git.proxmox.com Git - ceph.git/blame - ceph/src/fmt/test/header-only-test.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / fmt / test / header-only-test.cc
CommitLineData
11fdf7f2
TL
1// Header-only configuration test
2
3#include "fmt/core.h"
1e59de90
TL
4#include "fmt/ostream.h"
5#include "gtest/gtest.h"
20effc67
TL
6
7#ifndef FMT_HEADER_ONLY
8# error "Not in the header-only mode."
9#endif
1e59de90
TL
10
11TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); }