MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HasError

Function HasError

tensorflow/core/framework/function_test.cc:558–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558static void HasError(const Status& s, const string& substr) {
559 EXPECT_TRUE(absl::StrContains(s.ToString(), substr))
560 << ">>" << s << "<<, expected substring >>" << substr << "<<";
561}
562
563TEST(InstantiateErrors, Not_Sufficient_Attrs) {
564 auto fdef =

Callers 1

TESTFunction · 0.70

Calls 2

StrContainsFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected