1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-17 07:37:13 +02:00
Files
.github
bin
module
vendor
CPR
CivetWeb
ConcurrentQueue
Fmt
doc
include
src
support
test
add-subdirectory-test
compile-error-test
cuda-test
find-package-test
fuzzing
gtest
static-export-test
CMakeLists.txt
args-test.cc
assert-test.cc
chrono-test.cc
color-test.cc
compile-fp-test.cc
compile-test.cc
core-test.cc
enforce-checks-test.cc
format-impl-test.cc
format-test.cc
gtest-extra-test.cc
gtest-extra.cc
gtest-extra.h
header-only-test.cc
mock-allocator.h
module-test.cc
noexception-test.cc
os-test.cc
ostream-test.cc
posix-mock-test.cc
posix-mock.h
printf-test.cc
ranges-odr-test.cc
ranges-test.cc
scan-test.cc
scan.h
test-assert.h
test-main.cc
unicode-test.cc
util.cc
util.h
xchar-test.cc
CMakeLists.txt
CONTRIBUTING.md
ChangeLog.rst
LICENSE.rst
README.rst
MDBC
MaxmindDB
POCO
PUGIXML
RPMalloc
SAJSON
SimpleIni
Squirrel
TinyDir
UTF8
ZMQ
xxHash
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
SqMod/vendor/Fmt/test/header-only-test.cc
2022-03-16 22:36:44 +02:00

12 lines
253 B
C++

// 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"); }