Sign in
android
/
platform
/
external
/
fmtlib
/
db06b0df875856968c562d564b595a4e2861144e
/
.
/
test
/
header-only-test.cc
blob: 8c99f857bbf7a172376a3c56cdc73774842ae441 [
file
]
// 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"
);
}