summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helper.cpp')
-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);