]>
Commit | Line | Data |
---|---|---|
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 | |
11 | TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); } |