Skip to content

Improve failed phpt test diff #6191

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

Conversation

sebastianfeldmann
Copy link
Contributor

In case of multiline placeholder %a or %A we try to match multiple lines at the same time.

The tricky part is to keep the expected output and the real output in sync since they can be different in size and amount of lines.

In case of multiline placeholder %a or %A we try to match
multiple lines at the same time.

The tricky part is to keep the expected output and the real
output in sync since they can be different in size and amount
of lines.

Co-authored-by: Volker Dusch <github@wallbash.com>
Co-authored-by: Sebastian Feldmann <sf@sebastian-feldmann.info>
@sebastianfeldmann sebastianfeldmann force-pushed the improve-phpt-failed-diff-output branch from fa184aa to 8243458 Compare April 26, 2025 13:24
@sebastianbergmann sebastianbergmann added type/bug Something is broken feature/phpt End-to-end tests in PHPT format labels Apr 26, 2025
@sebastianbergmann
Copy link
Owner

I think this is a bug fix and as such should go into the 11.5 branch, sorry. But: thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/phpt End-to-end tests in PHPT format type/bug Something is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants