tests: Rename Sq::pki_vouch_authorize_p.

- Rename `Sq::pki_vouch_authorize_p` to
    `Sq::try_pki_vouch_authorize`.
This commit is contained in:
Neal H. Walfield 2024-12-11 17:17:27 +01:00
parent 5c11414386
commit aa031eaf7c
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3

View File

@ -1709,7 +1709,7 @@ impl Sq {
///
/// If `output_file` is `Some`, then the output is written to that
/// file. Otherwise, the default behavior is followed.
pub fn pki_vouch_authorize_p<'a, 'b, H, C, U, Q>(
pub fn try_pki_vouch_authorize<'a, 'b, H, C, U, Q>(
&self, extra_args: &[&str],
certifier: H,
cert: C, userids: &[U],
@ -1773,7 +1773,7 @@ impl Sq {
U: Into<UserIDArg<'a>> + Clone,
Q: Into<Option<&'b Path>>,
{
self.pki_vouch_authorize_p(
self.try_pki_vouch_authorize(
extra_args, certifier, cert, userids, output_file)
.expect("success")
}