Skip to content

Commit 3c6ef12

Browse files
WIP: Once each gherkin & messages release, we can move the dependencies from our fork
1 parent 8cbe1e7 commit 3c6ef12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cpp/test/cucumber/lib/runner.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
#include <sstream>
2727
#include <string>
2828

29-
#include <gherkin/parser.hpp>
30-
#include <gherkin/pickle_compiler.hpp>
31-
#include <gherkin/utils.hpp>
29+
#include <cucumber/gherkin/parser.hpp>
30+
#include <cucumber/gherkin/pickle_compiler.hpp>
31+
#include <cucumber/gherkin/utils.hpp>
3232

3333
#include "cucumber_bdd/runner.hpp"
3434

@@ -46,10 +46,10 @@ std::string type_name();
4646

4747
void TestRunnerBase::loadFeature(const std::string& path) {
4848
// std::regex testFilter = std::regex(::testing::GTEST_FLAG(filter), std::regex::extended);
49-
std::string featureContents = gherkin::slurp(path);
50-
gherkin::parser parser;
49+
std::string featureContents = cucumber::gherkin::slurp(path);
50+
cucumber::gherkin::parser parser;
5151
cucumber::messages::gherkin_document doc = parser.parse(path, featureContents);
52-
gherkin::pickle_compiler compiler;
52+
cucumber::gherkin::pickle_compiler compiler;
5353

5454
if (doc.feature.has_value()) {
5555
for (cucumber::messages::pickle scenario : compiler.compile(doc, path)) {

0 commit comments

Comments
 (0)