projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c25a2
)
rust-bindings: Fix `cargo fmt`
author
Colin Walters
<walters@verbum.org>
Fri, 22 Jul 2022 19:19:43 +0000
(15:19 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 22 Jul 2022 19:20:05 +0000
(15:20 -0400)
rust-bindings/tests/sign/mod.rs
patch
|
blob
|
history
diff --git
a/rust-bindings/tests/sign/mod.rs
b/rust-bindings/tests/sign/mod.rs
index f3c817a3df3e5fda6e7ab1f778c5190a85eafc20..300beedfc996ee2de4af8e6c502f5cee9daf9107 100644
(file)
--- 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]