MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / matchesOnce

Method matchesOnce

tests/unit/StepManagerTest.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 bool matchesOnce(const string& stepMatch) {
37 return (countMatches(stepMatch) == 1);
38 }
39
40 bool matchesAtLeastOnce(const string& stepMatch) {
41 return (countMatches(stepMatch) > 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected