Skip to content

chore: remove duplicate idn-email test and fix ambiguous test descriptions#881

Open
AcEKaycgR wants to merge 1 commit intojson-schema-org:mainfrom
AcEKaycgR:chore/format-test-cleanups
Open

chore: remove duplicate idn-email test and fix ambiguous test descriptions#881
AcEKaycgR wants to merge 1 commit intojson-schema-org:mainfrom
AcEKaycgR:chore/format-test-cleanups

Conversation

@AcEKaycgR
Copy link
Contributor

@AcEKaycgR AcEKaycgR commented Mar 19, 2026

While auditing the format test suites, I noticed a few test descriptions that were misleading, lacked precise RFC terminology, or were direct duplicates.

This is a PR to clean up these specific descriptions to better align with the explicit structural constraints of their respective RFCs. No validation logic or test "data" strings have been altered.

Changes made (applied across all relevant draft folders):

  • idn-email: Removed the duplicate test case for "2962". Combined the description of the remaining case to "an invalid e-mail/idn e-mail address".
  • ipv6: Changed the description of 12345:: from "out-of-range values" to "a group with 5 hex digits is invalid". This accurately reflects that it is an ABNF structural failure, rather than a semantic range check.
  • iri: Changed "an invalid IRI based on IPv6" to "an IPv6 address without enclosing brackets is invalid" to accurately reflect the port parsing failure.
  • uri: Removed a stray trailing space in the description "a valid URL ".

This ensures the test suite documentation remains highly precise for future implementers.
(cc: @jviotti @jdesrosiers)

@AcEKaycgR AcEKaycgR requested a review from a team as a code owner March 19, 2026 17:55
@AcEKaycgR AcEKaycgR force-pushed the chore/format-test-cleanups branch from 99e6072 to 92269c7 Compare March 19, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant