Negative test for GroupOperation.

This commit is contained in:
Dejan Mircevski 2015-10-13 16:32:38 -04:00 committed by David Neto
parent 9d0c813547
commit c002213d95

View File

@ -62,6 +62,11 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryGroupOperation, GroupOperationTest,
#undef CASE
// clang-format on
TEST_F(GroupOperationTest, WrongGroupOperation) {
EXPECT_THAT(CompileFailure("%r = OpGroupUMin %t %e xxyyzz %x"),
Eq("Invalid group operation 'xxyyzz'."));
}
// TODO(dneto): OpAsyncGroupCopy
// TODO(dneto): OpWaitGroupEvents
// TODO(dneto): OpGroupAll