Skip to content

Fix VanillaExceptionTracker to output only unexpected exceptions in AssertionError message #41

@maxim-ponomarev

Description

@maxim-ponomarev

At the moment, if there are any unexpected exceptions, AssertionError message contains ALL recorded exceptions, it doesn't honor ignorePredicate.

final String msg = exceptions.size() + " exceptions were detected: " + exceptions.keySet().stream().map(messageExtractor::apply).collect(Collectors.joining(", "));

Metadata

Metadata

Labels

bugSomething isn't workingreview

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions