Switch to addpreformattedfailure
This commit is contained in:
parent
636f714882
commit
7ad1132795
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
||||||
{
|
{
|
||||||
if (!assertionScope.Succeeded)
|
if (!assertionScope.Succeeded)
|
||||||
{
|
{
|
||||||
assertionScope.AddFailure(message);
|
assertionScope.AddPreFormattedFailure(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Continuation(assertionScope, assertionScope.Succeeded);
|
return new Continuation(assertionScope, assertionScope.Succeeded);
|
||||||
|
|
Loading…
Add table
Reference in a new issue