On  2024-07-17 17:35, Max Carrara wrote:
>> +
>> +        assert_eq!(secrets[1].name, "token".to_string());
>> +        assert_eq!(secrets[1].value, Some(encode("secret")));
>> +        assert_eq!(secrets[0].name, "token2".to_string());
>> +        assert_eq!(secrets[0].value, Some(encode("newsecret")));
>> +
>> +        // Test property deletion
>> +        update_endpoint(
>> +            &mut config,
>> +            "webhook-endpoint",
>> +            Default::default(),
>> +            Some(&[DeleteableWebhookProperty::Comment, 
>> DeleteableWebhookProperty::Secret]),
> 
> You missed a `cargo fmt` here ;)
> 


Right... Thanks! Was too used to RustRover autoformatting everything on save, 
which
I have not set up in my current nvim setup yet.

-- 
- Lukas


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to