Skip to content

Commit

Permalink
fix(tests): iri support todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Apr 14, 2020
1 parent 5334c41 commit b3c1c18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,12 @@ func TestDraft2019_09(t *testing.T) {
"testdata/draft2019-09/optional/format/ipv4.json",
"testdata/draft2019-09/optional/format/ipv6.json",
"testdata/draft2019-09/optional/format/iri-reference.json",
"testdata/draft2019-09/optional/format/iri.json",
// todo(arqu): iri fails on IPV6 not having [] around the address
// which was a legal format in draft7
// introduced: https://github.com/json-schema-org/JSON-Schema-Test-Suite/commit/2146b02555b163da40ae98e60bf36b2c2f8d4bd0#diff-b2ca98716e146559819bc49635a149a9
// relevant RFC: https://tools.ietf.org/html/rfc3986#section-3.2.2
// relevant 'net/url' package discussion: https://github.com/golang/go/issues/31024
// "testdata/draft2019-09/optional/format/iri.json",
"testdata/draft2019-09/optional/format/json-pointer.json",
"testdata/draft2019-09/optional/format/regex.json",
"testdata/draft2019-09/optional/format/relative-json-pointer.json",
Expand Down

0 comments on commit b3c1c18

Please sign in to comment.