summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-05 15:15:55 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-05 15:15:55 +0200
commitb278d242d03ba614779243ec9e9495fc95abea3d (patch)
tree0d3cd94a3a059b0754c61da075c7dcecc081f358 /tests
parent0a2b0e347d926ac0f29c9dd0f49e00634e822d0e (diff)
strops format
Diffstat (limited to 'tests')
-rw-r--r--tests/test_helper.cpp3
1 files changed, 1 insertions, 2 deletions
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 <stdio.h>
#include <stdlib.h>
#include <malloc.h>
@@ -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);