diff options
Diffstat (limited to 'adenosine-cli/src/identifiers.rs')
-rw-r--r-- | adenosine-cli/src/identifiers.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/adenosine-cli/src/identifiers.rs b/adenosine-cli/src/identifiers.rs index 7129ba5..7f88df5 100644 --- a/adenosine-cli/src/identifiers.rs +++ b/adenosine-cli/src/identifiers.rs @@ -118,6 +118,10 @@ fn test_aturi() { assert!(AtUri::from_str("at://bob.com/io.example.song").is_ok()); assert!(AtUri::from_str("at://bob.com/io.example.song/3yI5-c1z-cc2p-1a").is_ok()); assert!(AtUri::from_str("at://bob.com/io.example.song/3yI5-c1z-cc2p-1a#/title").is_ok()); + assert!( + AtUri::from_str("at://did:plc:ltk4reuh7rkoy2frnueetpb5/app.bsky.follow/3jg23pbmlhc2a") + .is_ok() + ); let uri = AtUri { repository: DidOrHost::Did("some".to_string(), "thing".to_string()), |