2016-04-24 19:06:12 +03:00
|
|
|
// Header-only configuration test
|
2014-12-09 17:22:55 +03:00
|
|
|
|
2017-12-06 18:42:42 +03:00
|
|
|
#include "fmt/core.h"
|
2021-09-03 18:35:13 +03:00
|
|
|
#include "fmt/ostream.h"
|
|
|
|
#include "gtest/gtest.h"
|
2021-05-02 15:55:55 +03:00
|
|
|
|
|
|
|
#ifndef FMT_HEADER_ONLY
|
|
|
|
# error "Not in the header-only mode."
|
|
|
|
#endif
|
2021-09-03 18:35:13 +03:00
|
|
|
|
|
|
|
TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); }
|