8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Correction in test.

This commit is contained in:
Adriano dos Santos Fernandes 2024-10-16 23:23:47 -03:00
parent 46d8f5f4a9
commit b6ce28993e

View File

@ -479,9 +479,9 @@ BOOST_AUTO_TEST_CASE(SubstrTest)
BOOST_AUTO_TEST_CASE(LoadFromFileTest) BOOST_AUTO_TEST_CASE(LoadFromFileTest)
{ {
namespace fs = std::filesystem; namespace fs = std::filesystem;
auto tempFilePath = fs::temp_directory_path() / "test.txt"; auto tempFilePath = (fs::temp_directory_path() / "test.txt").string();
const char* filename = tempFilePath.string().data(); const char* filename = tempFilePath.data();
FILE *x = fopen(tempFilePath.string().data(), "w+"); FILE *x = fopen(tempFilePath.data(), "w+");
std::string_view line1 = "char lbl[] = \"0123456789\";"; std::string_view line1 = "char lbl[] = \"0123456789\";";
std::string_view line2 = ""; // LoadFormFile read from '\n' std::string_view line2 = ""; // LoadFormFile read from '\n'