Skip to content

Commit 60ae7f3

Browse files
committed
Add more DID negative test vectors
1 parent 7bc57aa commit 60ae7f3

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

src/test/java/com/apicatalog/did/DidTest.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,21 @@ static Stream<String> negativeVectors() {
125125
"did:example:123?",
126126
"did:example:123/",
127127
null,
128-
""
128+
"",
129+
"https://example.com",
130+
"irc:example:channel",
131+
"did:example.com:channel",
132+
"did:example: ",
133+
"did:example:",
134+
"did:example",
135+
"did:",
136+
"did",
137+
":example:channel",
138+
" :example:channel",
139+
"did::channel",
140+
"did: :channel",
141+
" did:method:id",
142+
"did:method:id ",
129143
});
130144
}
131145

0 commit comments

Comments
 (0)