Skip to content

Commit

Permalink
test: more test for incomplete URNs
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
  • Loading branch information
leodido committed Jan 26, 2024
1 parent 1435c76 commit 6586f66
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,24 @@ var urn2141OnlyTestCases = []testCase{
`expecting the specific string to be a string containing alnum, hex, or others ([()+,-.:=@;$_!*']) chars [col 6]`,
false,
},
{
[]byte("urn:ietf:params:scim:api:messages:%"),
false,
nil,
"",
"",
fmt.Sprintf(errHex, 35),
false,
},
{
[]byte("urn:ietf:params:scim:api:messages:%F"),
false,
nil,
"",
"",
fmt.Sprintf(errHex, 36),
false,
},

// no - Incomplete URNs
{
Expand Down

0 comments on commit 6586f66

Please sign in to comment.