Skip to content

fix(endpoint): misc fixes for endpoints 2.0 based on service unit tests #4002

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

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Sep 29, 2022

  • misc fixes for endpoints 2.0 based on S3 service unit tests (not shown here).

I have not imported the test cases I used because they are not public yet. Added here are only some revealed fixes and the test case runner code.

REQUIRES: smithy-lang/smithy-typescript#600

@kuhe kuhe requested a review from a team as a code owner September 29, 2022 18:11
@@ -2,7 +2,7 @@ import { isValidHostLabel } from "./isValidHostLabel";

describe(isValidHostLabel.name, () => {
const testCases: Array<[boolean, string]> = [
[false, "01010"],
[true, "01010"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed this because I saw that subdomains can be made of only numbers.
Hostnames can start with a number too.

@kuhe kuhe merged commit 77788f9 into aws:main Sep 29, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants