From e7224f1331f338ef3cd6dad8790761ce699c4f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Stoj=C5=A1in?= Date: Fri, 30 Aug 2024 23:35:48 +0200 Subject: [PATCH] Update tests --- tests/v1/test_packing.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/v1/test_packing.cpp b/tests/v1/test_packing.cpp index 63eac78..3bc6f7d 100644 --- a/tests/v1/test_packing.cpp +++ b/tests/v1/test_packing.cpp @@ -29,8 +29,11 @@ static bool compare_files(const std::string& p1, const std::string& p2) { TEST(packing, v1_packing) { evp evp; + + evp::pack_input input; + input.base = BASE_PATH + std::string("/tests/v1/resources/files_to_pack/subfolder_2"); + input.files.push_back("text_3.txt"); - std::string input = BASE_PATH + std::string("/tests/v1/resources/files_to_pack/subfolder_2"); std::string output = BASE_PATH + std::string("/tests/v1/resources/v1_packing_single_file.evp"); std::string valid = BASE_PATH + std::string("/tests/v1/resources/single_file.evp");