From 2680a459ecb9afbaabf95ce3841079019cdf4948 Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Sun, 17 May 2020 03:51:07 +0200 Subject: [PATCH] new(tests/engine): update socket path Signed-off-by: Lorenzo Fontana --- tests/engine/test_falco_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/engine/test_falco_utils.cpp b/tests/engine/test_falco_utils.cpp index 1f83a7dd..aa6c21b3 100644 --- a/tests/engine/test_falco_utils.cpp +++ b/tests/engine/test_falco_utils.cpp @@ -18,13 +18,13 @@ limitations under the License. TEST_CASE("Startswith shold match when checked string has prefix", "[utils]") { - bool res = falco::utils::starts_with("unix:///var/run/falco/falco.sock", "unix://"); + bool res = falco::utils::starts_with("unix:///var/run/falco.sock", "unix://"); REQUIRE(res); } TEST_CASE("Startswith shold not match when checked string does not have prefix", "[utils]") { - bool res = falco::utils::starts_with("unix:///var/run/falco/falco.sock", "something://"); + bool res = falco::utils::starts_with("unix:///var/run/falco.sock", "something://"); REQUIRE_FALSE(res); }