test/util: expect_err() (#8257)

other cleanup, ref #8245
This commit is contained in:
Justin M. Keyes
2018-04-11 22:07:00 +02:00
committed by GitHub
parent f96d99ad11
commit 87f4d2592c
7 changed files with 30 additions and 19 deletions

View File

@@ -213,7 +213,7 @@ static void ui_set_option(UI *ui, String name, Object value, Error *error)
return;
}
api_set_error(error, kErrorTypeValidation, "No such UI option");
api_set_error(error, kErrorTypeValidation, "No such UI option: %s", name);
#undef UI_EXT_OPTION
}