update unit test for changes in units command error messages

This commit is contained in:
Axel Kohlmeyer
2025-01-03 04:04:42 -05:00
parent 1fcf1a7c56
commit bc30665689

View File

@ -405,7 +405,7 @@ TEST_F(SimpleCommandsTest, Units)
END_HIDE_OUTPUT();
ASSERT_THAT(lmp->update->unit_style, StrEq("lj"));
TEST_FAILURE(".*ERROR: Illegal units command.*", command("units unknown"););
TEST_FAILURE(".*ERROR: Unknown units style unknown.*", command("units unknown"););
}
#if defined(LMP_PLUGIN)