From 3c6ef12d38526b2ab5cd1e1e59f274b202ab5b84 Mon Sep 17 00:00:00 2001 From: Krishnan Govindraj Date: Fri, 19 Jan 2024 12:59:07 +0000 Subject: [PATCH] WIP: Once each gherkin & messages release, we can move the dependencies from our fork --- cpp/test/cucumber/lib/runner.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/test/cucumber/lib/runner.cpp b/cpp/test/cucumber/lib/runner.cpp index 7541f88867..36de54926b 100644 --- a/cpp/test/cucumber/lib/runner.cpp +++ b/cpp/test/cucumber/lib/runner.cpp @@ -26,9 +26,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "cucumber_bdd/runner.hpp" @@ -46,10 +46,10 @@ std::string type_name(); void TestRunnerBase::loadFeature(const std::string& path) { // std::regex testFilter = std::regex(::testing::GTEST_FLAG(filter), std::regex::extended); - std::string featureContents = gherkin::slurp(path); - gherkin::parser parser; + std::string featureContents = cucumber::gherkin::slurp(path); + cucumber::gherkin::parser parser; cucumber::messages::gherkin_document doc = parser.parse(path, featureContents); - gherkin::pickle_compiler compiler; + cucumber::gherkin::pickle_compiler compiler; if (doc.feature.has_value()) { for (cucumber::messages::pickle scenario : compiler.compile(doc, path)) {