From 55292e40079b1a1ae1ff469c31ebe9fca8a833e6 Mon Sep 17 00:00:00 2001 From: Colin Walters <walters@verbum.org> Date: Fri, 22 Jul 2022 15:19:43 -0400 Subject: [PATCH] rust-bindings: Fix `cargo fmt` --- rust-bindings/tests/sign/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust-bindings/tests/sign/mod.rs b/rust-bindings/tests/sign/mod.rs index f3c817a3..300beedf 100644 --- a/rust-bindings/tests/sign/mod.rs +++ b/rust-bindings/tests/sign/mod.rs @@ -74,7 +74,9 @@ echo $ED25519SECRET > ed25519.secret let badsigs = [b"".as_slice()].to_variant(); let e = signer.data_verify(payload, &badsigs).err().unwrap(); - assert!(e.to_string().contains("Invalid signature length of 0 bytes")) + assert!(e + .to_string() + .contains("Invalid signature length of 0 bytes")) } #[test]