Don't store group if initial assignment failed

This commit is contained in:
Richard Berger
2021-04-20 14:24:07 -04:00
parent aba4dfc42e
commit fcf17a709e
2 changed files with 340 additions and 326 deletions

View File

@ -297,7 +297,7 @@ TEST_F(GroupTest, Dynamic)
command("group grow delete");
command("variable ramp equal step");
END_HIDE_OUTPUT();
ASSERT_EQ(group->ngroup, 4);
ASSERT_EQ(group->ngroup, 3);
TEST_FAILURE(".*ERROR: Group dynamic cannot reference itself.*",
command("group half dynamic half region top"););