improve error messages

This commit is contained in:
Axel Kohlmeyer
2022-05-04 16:21:17 -04:00
parent ba3aa8fab5
commit e897ab7611
2 changed files with 11 additions and 12 deletions

View File

@ -340,7 +340,7 @@ TEST_F(SimpleCommandsTest, Thermo)
ASSERT_EQ(lmp->output->var_thermo, nullptr);
TEST_FAILURE(".*ERROR: Illegal thermo command.*", command("thermo"););
TEST_FAILURE(".*ERROR: Illegal thermo command.*", command("thermo -1"););
TEST_FAILURE(".*ERROR: Illegal thermo output frequency.*", command("thermo -1"););
TEST_FAILURE(".*ERROR: Expected integer.*", command("thermo xxx"););
}