Skip to content

Positive %a and %A matches are not ignored from diff when EXPECTF fails #6192

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>
@sebastianbergmann sebastianbergmann added type/bug Something is broken feature/phpt End-to-end tests in PHPT format labels Apr 26, 2025
@sebastianbergmann sebastianbergmann merged commit 72ea2b5 into sebastianbergmann:11.5 Apr 26, 2025
29 checks passed
@sebastianbergmann sebastianbergmann changed the title Improve failed phpt test diff Positive %a and %A matches are not ignored from diff when EXPECTF fails Apr 26, 2025
@sebastianfeldmann sebastianfeldmann deleted the bugfix-phpt-diff-output branch April 26, 2025 13:43
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