[mlir][NFC] Fix leak in unit test

Destroy operation created in
`OperationFormatPrintTest.CanUseVariadicFormat` test.
This commit is contained in:
Vladislav Vinogradov 2021-10-29 15:24:46 +03:00
parent 7591d21032
commit 17664a256f
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ TEST(OperationFormatPrintTest, CanUseVariadicFormat) {
std::string str = formatv("{0}", *op).str();
ASSERT_STREQ(str.c_str(), "\"foo.bar\"() : () -> ()");
op->destroy();
}
TEST(NamedAttrListTest, TestAppendAssign) {