Closed
Description
The UX is less than ideal when there is a test failure in the BaselineHelper
. This is an examples from #5122:
Assert.Null() Failure: Value is not null
Expected: null
Actual: "\nExpected file '/__w/1/s/artifacts/bin/Microsoft."···
The assert used here is Assert.Null(message);
A quick search suggests this is a known truncation. The recommendation is to use the following pattern instead:
Assert.True(message == null, message);
This suggestion should be vetted.
Metadata
Metadata
Assignees
Type
Projects
Status
Done