weaker test case and constructor comment
This commit is contained in:
parent
a995cbf9ec
commit
ae0c539bfc
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ TEST(TestOpTensorCreate, ExceptionOnZeroSizeTensor)
|
|||
mgr.evalOpDefault<kp::OpTensorCreate>({ tensorA });
|
||||
} catch( const std::runtime_error& err ) {
|
||||
// check exception
|
||||
ASSERT_STREQ("Kompute Tensor attempted to create a zero-sized buffer", err.what() );
|
||||
ASSERT_TRUE( std::string(err.what()).find("zero-sized") != std::string::npos );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue