Skip to content

[Translation] Dont test full string output #40933

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

Closed
wants to merge 1 commit into from

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Apr 23, 2021

Q A
Branch? 5.x
Bug fix? no
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

SymfonyStyle will automatically detect the terminal width and insert line breaks. When we test for "super long" string in the output, it will likely fail because of those line breaks.
This is a quick fix, I think we can solve this in a more generic and elegant way in the future.. But Im not sure exactly how atm.

@carsonbot carsonbot changed the title [Translator] Dont test full string output [Translation] Dont test full string output Apr 23, 2021
@Nyholm
Copy link
Member Author

Nyholm commented Apr 23, 2021

Hm.. maybe Im more happy with #40934

@derrabus
Copy link
Member

I'd prefer #40934 as well.

derrabus added a commit that referenced this pull request Apr 24, 2021
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Translation] [CI] Specify terminal width

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

This is an alternative to #40933. It will force to use 121 (120 max) characters as width.

Commits
-------

d51f7f6 [Translation] [CI] Specify terminal width
@derrabus derrabus closed this Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants