summaryrefslogtreecommitdiffstats
path: root/contrib/libs/fmt/test/header-only-test.cc
diff options
context:
space:
mode:
authordakovalkov <[email protected]>2023-02-17 12:41:41 +0300
committerdakovalkov <[email protected]>2023-02-17 12:41:41 +0300
commitcd21459f6ea789b57cb76b39cb52553923024abd (patch)
tree332cedd2db0f9ce57952887c19c1ce97e775cd52 /contrib/libs/fmt/test/header-only-test.cc
parent14530b5eb2df23bc3b0027fdd6d07e0035bafe2e (diff)
Update fmtlib to 8.1.1 + spdlog to 1.11.0 + jinja2cpp to 1.2.1
Diffstat (limited to 'contrib/libs/fmt/test/header-only-test.cc')
-rw-r--r--contrib/libs/fmt/test/header-only-test.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libs/fmt/test/header-only-test.cc b/contrib/libs/fmt/test/header-only-test.cc
index 674dab993d0..570f09a563a 100644
--- a/contrib/libs/fmt/test/header-only-test.cc
+++ b/contrib/libs/fmt/test/header-only-test.cc
@@ -1,3 +1,11 @@
// 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"); }