Skip to content

Commit

Permalink
Add more DID negative test vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
filip26 committed Jul 10, 2024
1 parent 7bc57aa commit 60ae7f3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/test/java/com/apicatalog/did/DidTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,21 @@ static Stream<String> negativeVectors() {
"did:example:123?",
"did:example:123/",
null,
""
"",
"https://example.com",
"irc:example:channel",
"did:example.com:channel",
"did:example: ",
"did:example:",
"did:example",
"did:",
"did",
":example:channel",
" :example:channel",
"did::channel",
"did: :channel",
" did:method:id",
"did:method:id ",
});
}

Expand Down

0 comments on commit 60ae7f3

Please sign in to comment.