Skip to content

Use text blocks for multiline queries in tests#13500

Merged
martint merged 2 commits intotrinodb:masterfrom
martint:cleanup
Aug 7, 2022
Merged

Use text blocks for multiline queries in tests#13500
martint merged 2 commits intotrinodb:masterfrom
martint:cleanup

Conversation

@martint
Copy link
Member

@martint martint commented Aug 4, 2022

Just some code cleanup.

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

@cla-bot cla-bot bot added the cla-signed label Aug 4, 2022
@findepi
Copy link
Member

findepi commented Aug 5, 2022

Is it a manual or automated change?

@martint martint merged commit 7722578 into trinodb:master Aug 7, 2022
@github-actions github-actions bot added this to the 393 milestone Aug 7, 2022
@martint
Copy link
Member Author

martint commented Aug 7, 2022

It’s a bit of both. You can use an IntelliJ intention to concatenate the strings, but because we don’t use \n it inserts a \s at the end of each line to preserve whitespace. Those have to be removed. The placement of closing quotes also needs to be adjusted.

@martint martint deleted the cleanup branch August 26, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants