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

Allow optional break after string-literals #396

Closed
wants to merge 2 commits into from

Conversation

nreid260
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 14, 2023
@@ -68,7 +68,7 @@ fun assertFormatted(

fun assertThatFormatting(code: String): FormattedCodeSubject {
fun codes(): Subject.Factory<FormattedCodeSubject, String> {
return Subject.Factory { metadata, subject -> FormattedCodeSubject(metadata, subject) }
return Subject.Factory { metadata, subject -> FormattedCodeSubject(metadata, subject!!) }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The API of Subject.Factory is changing (has changed within Google) so that the subject is nullable even if the constructor doesn't accept null.

@facebook-github-bot
Copy link
Contributor

@cgrushko has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Co-authored-by: Nivaldo Bondança <hick209@gmail.com>
@facebook-github-bot
Copy link
Contributor

@cgrushko has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cgrushko merged this pull request in 1b076d1.

@nreid260 nreid260 deleted the string_break branch May 11, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants