diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 17:30:15 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-09 17:30:15 +0100 |
| commit | 0821197bc1c57c756e737740d6a6de9c83314fae (patch) | |
| tree | 4963d2be78bd0978442a4b311889c6f2c5feaeee /tests/test_helper.cpp | |
| parent | ccacaf0582bcea4a71ec8247ade0fd75e4ca99bf (diff) | |
fix warnings
Diffstat (limited to 'tests/test_helper.cpp')
| -rw-r--r-- | tests/test_helper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp index d9d2335..ada084b 100644 --- a/tests/test_helper.cpp +++ b/tests/test_helper.cpp @@ -10,10 +10,10 @@ #include "administration_reader.hpp" #include "administration_writer.hpp" -char* test_file_path = "build\\test.openbook"; -char* validation_file = "libs\\PEPPOL-EN16931-UBL.sch"; -char* result_file = "build\\invoice_report.xml"; -char* extract_dir = "build\\extracted"; +char* test_file_path = "build/test.openbook"; +char* validation_file = "libs/PEPPOL-EN16931-UBL.sch"; +char* result_file = "build/invoice_report.xml"; +char* extract_dir = "build/extracted"; static contact _create_nl_business() { @@ -177,7 +177,7 @@ static bool _test_peppol_file(char* id) zip_extract(test_file_path, extract_dir, 0, 0); char command[200]; - strops::format(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 > /dev/null 2>&1", extract_dir, id, validation_file, result_file); system(command); |
