From b97736fcd6682585096689e3f1d18f3821535db0 Mon Sep 17 00:00:00 2001 From: gtsoul-tech Date: Thu, 11 Jul 2024 15:04:48 +0300 Subject: [PATCH] fixing paths --- unit/hyperscan/rebar_tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unit/hyperscan/rebar_tests.cpp b/unit/hyperscan/rebar_tests.cpp index af9b0002..be23d677 100644 --- a/unit/hyperscan/rebar_tests.cpp +++ b/unit/hyperscan/rebar_tests.cpp @@ -61,7 +61,7 @@ TEST(rebar, leipzig_math_symbols_count) { ASSERT_TRUE(scratch != nullptr); - std::ifstream file("../unit/hyperscan/datafiles/leipzig-3200.txt"); + std::ifstream file("../source/unit/hyperscan/datafiles/leipzig-3200.txt"); std::stringstream buffer; buffer << file.rdbuf(); // Read the file into the buffer std::string data = buffer.str(); // Convert the buffer into a std::string @@ -95,7 +95,7 @@ TEST(rebar, lh3lh3_reb_uri_or_email_grep) { ASSERT_TRUE(scratch != nullptr); - std::ifstream file("../unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); + std::ifstream file("../source/unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); std::stringstream buffer; buffer << file.rdbuf(); // Read the file into the buffer std::string data = buffer.str(); // Convert the buffer into a std::string @@ -129,7 +129,7 @@ TEST(rebar, lh3lh3_reb_email_grep) { ASSERT_TRUE(scratch != nullptr); - std::ifstream file("../unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); + std::ifstream file("../source/unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); std::stringstream buffer; buffer << file.rdbuf(); // Read the file into the buffer std::string data = buffer.str(); // Convert the buffer into a std::string @@ -164,7 +164,7 @@ TEST(rebar, lh3lh3_reb_date_grep) { ASSERT_TRUE(scratch != nullptr); - std::ifstream file("../unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); + std::ifstream file("../source/unit/hyperscan/datafiles/lh3lh3-reb-howto.txt"); std::stringstream buffer; buffer << file.rdbuf(); // Read the file into the buffer std::string data = buffer.str(); // Convert the buffer into a std::string