Skip to content

Commit

Permalink
Use z
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 14, 2025
1 parent 12f9e60 commit eda3b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/nettlesome.Tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ object Tests extends Suite(t"Nettlesome tests"):
test(t"Authority with invalid port fails"):
capture(Authority.parse(t"username@example.com:no"))
.matches:
case UrlError(_, position, UrlError.Expectation.Number) if position == Ordinal.zerary(21) =>
case UrlError(_, position, UrlError.Expectation.Number) if position == 21.z =>


test(t"Parse full URL"):
Expand Down

0 comments on commit eda3b58

Please sign in to comment.