()
| 157 | |
| 158 | #[test] |
| 159 | fn wrong_key_fails_verification() { |
| 160 | let (id, kp) = dev_identity(); |
| 161 | let node = lift_and_attest(&frontmatter(), BODY, &id, &kp).unwrap(); |
| 162 | let other = KeyPair::generate(); |
| 163 | assert!(verify(&node, &other.public).is_err()); |
| 164 | } |
| 165 | |
| 166 | #[test] |
| 167 | fn empty_new_collections_do_not_appear_in_canonical_form() { |
nothing calls this directly
no test coverage detected