1 // Header-only configuration test 2 3 #include "fmt/base.h" 4 #include "fmt/ostream.h" 5 #include "gtest/gtest.h" 6 7 #ifndef FMT_HEADER_ONLY 8 # error "Not in the header-only mode." 9 #endif 10 TEST(header_only_test,format)11TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); } 12