Sign in
android
/
platform
/
external
/
fmtlib
/
c089f7d4
/
.
/
test
/
header-only-test.cc
blob: 570f09a563a760004337d54b39f50697fc127d74 [
file
] [
log
] [
blame
]
// 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"
);
}