Skip to content

Commit 9bbc7a1

Browse files
committed
add suppl uri test for escaped ':'
1 parent b0d9dd0 commit 9bbc7a1

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

  • lib/src/testFixtures/resources/suite-supplementary
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"description": "URI format",
4+
"schema": {
5+
"$schema": "https://json-schema.org/draft/2020-12/schema",
6+
"format": "uri"
7+
},
8+
"tests": [
9+
{
10+
"description": "registry based authority can contain encoded ':'",
11+
"data": "https://example.com%3Aabc",
12+
"valid": true
13+
}
14+
]
15+
}
16+
]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"description": "URI format",
4+
"schema": {
5+
"$schema": "https://json-schema.org/draft/2020-12/schema",
6+
"format": "uri"
7+
},
8+
"tests": [
9+
{
10+
"description": "registry based authority can contain encoded ':'",
11+
"data": "https://example.com%3Aabc",
12+
"valid": true
13+
}
14+
]
15+
}
16+
]

0 commit comments

Comments
 (0)