test fmt library is basically working

This commit is contained in:
berniev
2023-03-02 07:24:56 +10:00
committed by wwmayer
parent 24446e5e2d
commit 8c6735b79a
2 changed files with 10 additions and 0 deletions

9
tests/src/Misc/fmt.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include "gtest/gtest.h"
#include "fmt/format.h"
TEST(fmt, fail){
EXPECT_NE("abc", fmt::format("{}{}","a","b"));
}
TEST(fmt, pass){
EXPECT_EQ("ab", fmt::format("{}{}","a","b"));
}