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

[URL] Add additional tests for URLSearchParams.sort() #12248

Merged
merged 2 commits into from Aug 2, 2018

Conversation

TRowbotham
Copy link
Contributor

This adds the following tests for:

  • Parameter names with more than one character.
  • Parameter names with identical characters, but differing lengths.
  • Paramter names that are the empty string.
  • Parameter names that contain characters with the same number of code units.

This adds the following tests for:

* Parameter names with more than one character.
* Parameter names with identical characters, but differing lengths.
* Paramter names that are the empty string.
* Parameter names that contain characters with the same number of code units.
Copy link
Member

@TimothyGu TimothyGu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good, one nit.

{
"input": "bbb&bb&aaa&aa=x&aa=y",
"output": [
["aa", "x"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use the same indentation style as everywhere else?

@TimothyGu TimothyGu removed their request for review July 31, 2018 20:33
Copy link
Member

@TimothyGu TimothyGu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let @annevk take a look at this as well but LGTM.

@annevk annevk merged commit 7cee0d2 into web-platform-tests:master Aug 2, 2018
@annevk
Copy link
Member

annevk commented Aug 2, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants