update unit tests for changed error messages

This commit is contained in:
Axel Kohlmeyer
2022-08-17 23:56:22 -04:00
parent 5a10b09005
commit 5ff56753da
2 changed files with 17 additions and 13 deletions

View File

@ -188,7 +188,7 @@ Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
if (iarg+4 > narg) utils::missing_cmd_args(FLERR, "lattice a1", error);
if (style != CUSTOM)
error->all(FLERR,
"Invalid a1 in lattice command for non-custom style");
"Invalid a1 option in lattice command for non-custom style");
a1[0] = utils::numeric(FLERR,arg[iarg+1],false,lmp);
a1[1] = utils::numeric(FLERR,arg[iarg+2],false,lmp);
a1[2] = utils::numeric(FLERR,arg[iarg+3],false,lmp);