Tests: Avoid use of fmtlib when not needed

This commit is contained in:
Ladislav Michl
2024-01-15 17:36:25 +01:00
parent 7d64c3af2f
commit 5fe2b33bb0
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,6 @@
#include "gtest/gtest.h"
#include <array>
#include <fmt/core.h>
#include <App/Application.h>
#include <App/ComplexGeoData.h>
@@ -318,7 +317,8 @@ TEST_F(ComplexGeoDataTest, elementTypeCharMappedNameWithPrefix) // NOLINT
int size {0};
Data::MappedName mappedName;
Data::IndexedName indexedName;
auto name = fmt::format("{}TestMappedElement:;", Data::ELEMENT_MAP_PREFIX);
std::string name(Data::ELEMENT_MAP_PREFIX);
name.append("TestMappedElement:;");
std::tie(indexedName, mappedName) = createMappedName(name);
// Act

View File

@@ -10,7 +10,6 @@
#include "Base/Reader.h"
#include <array>
#include <boost/filesystem.hpp>
#include <fmt/format.h>
#include <fstream>
namespace fs = boost::filesystem;