mirror of
https://github.com/nomic-ai/kompute.git
synced 2026-05-11 17:09:59 +00:00
weaker test case and constructor comment
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user