You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: did_core/did_methods/did_peer/src/peer_did/numalgos/numalgo2/mod.rs
+9-10
Original file line number
Diff line number
Diff line change
@@ -54,8 +54,8 @@ impl Numalgo for Numalgo2 {
54
54
#[cfg(test)]
55
55
mod test {
56
56
use did_doc::schema::did_doc::DidDocument;
57
-
use serde_json::{from_value, json};
58
57
use pretty_assertions::assert_eq;
58
+
use serde_json::{from_value, json};
59
59
60
60
usecrate::{
61
61
peer_did::{numalgos::numalgo2::Numalgo2,PeerDid},
@@ -64,44 +64,43 @@ mod test {
64
64
65
65
#[test]
66
66
fntest_peer_did_2_encode_decode(){
67
+
let expected_did_peer = "did:peer:2.Ez6MkkukgyKAdBN46UAHvia2nxmioo74F6YdvW1nBT1wfKKha.Vz6MkfoapUdLHHgSMq5PYhdHYCoqGuRku2i17cQ9zAoR5cLSm.SeyJpZCI6IiNmb29iYXIiLCJ0IjpbImRpZC1jb21tdW5pY2F0aW9uIl0sInMiOiJodHRwOi8vZHVtbXl1cmwub3JnLyIsInIiOlsiIzZNa2t1a2d5Il0sImEiOlsiZGlkY29tbS9haXAyO2Vudj1yZmMxOSJdfQ";
0 commit comments