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

fix(adapter): don't duplicate multiline failure messages #294

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 18, 2022

  1. fix(adapter): don't duplicate multiline failure messages

    The current code to handle removing error messages for formatting does not
    properly handle multiline error messages and results in the message being
    repeated at the top of the stack trace. The code only searched for the message
    in the first stack line, which meant it would never be found because the message
    was multiple lines, which meant that the message would be pre-pended by the
    message not in stack logic.
    
    The existing multiline test actually triggers this behavior, but because it used
    toMatch it only verified that the message was included, not that it only existed
    once.
    mitchellwills authored and Jonathan Ginsburg committed May 18, 2022
    Configuration menu
    Copy the full SHA
    6f56439 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Configuration menu
    Copy the full SHA
    58bc48f View commit details
    Browse the repository at this point in the history