improve error messages

This commit is contained in:
Axel Kohlmeyer
2022-09-10 19:43:04 -04:00
parent 67f6adebb7
commit e45fa36717
2 changed files with 11 additions and 12 deletions

View File

@ -348,7 +348,7 @@ TEST_F(FileOperationsTest, write_restart)
}
TEST_FAILURE(".*ERROR: Illegal write_restart command.*", command("write_restart"););
TEST_FAILURE(".*ERROR: Illegal write_restart command.*",
TEST_FAILURE(".*ERROR: Unknown write_restart keyword: xxxx.*",
command("write_restart test.restart xxxx"););
TEST_FAILURE(".*ERROR on proc 0: Cannot open restart file some_crazy_dir/test.restart:"
" No such file or directory.*",