Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT REVIEW] Fix unit test testLargerMixedJSONWithEmoji() #1203

Closed
wants to merge 16 commits into from

Conversation

warmkesselj
Copy link
Contributor

@warmkesselj warmkesselj commented Mar 2, 2024

Summary of changes

Fix testLargerMixedJSONWithEmoji().

This test is failing locally because URL(String: String) -> URL? returns a URL even with incorrectly URL formatted Strings. Addicating a REGEX check fixes this problem.

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

@warmkesselj warmkesselj requested a review from a team as a code owner March 2, 2024 00:25
@warmkesselj warmkesselj changed the title [DO NOT REVIEW] Validate String is formmated as an actual URL [DO NOT REVIEW] Validate String is formated as an actual URL Mar 2, 2024
@warmkesselj warmkesselj changed the title [DO NOT REVIEW] Validate String is formated as an actual URL [DO NOT REVIEW] Fix unit test testLargerMixedJSONWithEmoji() Mar 2, 2024
@jaxdesmarais
Copy link
Contributor

Closing in favor of #1244 since this PR is quite out of date, if we want to take this URL approach instead, lets open a new PR with the BTJSON changes!

@scannillo scannillo deleted the btjson_validateURL branch July 3, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants