Skip to content

[NFC] Fix issue-61440 test formatting #65454

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 1 commit into from
Apr 27, 2023
Merged

[NFC] Fix issue-61440 test formatting #65454

merged 1 commit into from
Apr 27, 2023

Conversation

jreference
Copy link

@jreference jreference commented Apr 27, 2023

Added a test as part of fixing #61440 but the format was slightly irregular. Fixed the formatting of the test. @slavapestov Sorry, was not able to fix the test in the prior PR

Related: #65434

@LucianoPAlmeida
Copy link
Contributor

@swift-ci Please smoke test

@LucianoPAlmeida LucianoPAlmeida changed the title 61440-fix-test-formatting [NFC] Fix issue-61440 test formatting Apr 27, 2023
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis left a comment

Choose a reason for hiding this comment

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

Thanks for taking on the issue! Line breaks before { are still inconsistent though; could you fix that?

Please consider using more idiomatic and descriptive commit messages. For example, Fix test formatting after #<pull request id>.

}

struct S:P // expected-error {{type 'S' does not conform to protocol 'P'}}
struct S: P // expected-error {{type 'S' does not conform to protocol 'P'}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not that it really matters but one space before a trailing comment in enough.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for taking on the issue! Line breaks before { are still inconsistent though; could you fix that?

Please consider using more idiomatic and descriptive commit messages. For example, Fix test formatting after #<pull request id>.

Got it, will do in my next PR!

@slavapestov slavapestov merged commit 1629ffd into swiftlang:main Apr 27, 2023
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.

4 participants