MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / stringContains

Method stringContains

test/spec/spectest.cpp:715–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715bool SpecTest::stringContains(std::string_view Expected,
716 std::string_view Got) const {
717 if (Expected.rfind(Got, 0) != 0) {
718 spdlog::error(" ##### expected text : {}"sv, Expected);
719 spdlog::error(" ######## error text : {}"sv, Got);
720 return false;
721 }
722 return true;
723}
724
725void SpecTest::run(std::string_view Proposal, std::string_view UnitName) {
726 spdlog::info("{} {}"sv, Proposal, UnitName);

Callers

nothing calls this directly

Calls 1

errorFunction · 0.50

Tested by

no test coverage detected