From b278d242d03ba614779243ec9e9495fc95abea3d Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 5 Oct 2025 15:15:55 +0200 Subject: strops format --- tests/test_helper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test_helper.cpp') diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp index f0b0d66..b74916a 100644 --- a/tests/test_helper.cpp +++ b/tests/test_helper.cpp @@ -1,6 +1,5 @@ #define _CRT_SECURE_NO_WARNINGS -#include #include #include @@ -174,7 +173,7 @@ static bool _test_peppol_file(char* id) zip_extract(test_file_path, extract_dir, 0, 0); char command[200]; - snprintf(command, 200, "java -jar libs\\schxslt-cli.jar -d %s\\%s.xml -s %s -o %s > NUL 2>&1", + strops::format(command, 200, "java -jar libs\\schxslt-cli.jar -d %s\\%s.xml -s %s -o %s > NUL 2>&1", extract_dir, id, validation_file, result_file); system(command); -- cgit v1.2.3-70-g09d2