Use built version of redist instead of stage 0 for running tests
This commit is contained in:
parent
e13e5fca99
commit
b7e4f06bed
4 changed files with 7 additions and 64 deletions
|
@ -25,16 +25,6 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
return new AndConstraint<StringAssertions>(assertions);
|
||||
}
|
||||
|
||||
public static AndConstraint<StringAssertions> BeVisuallyEquivalentToIfNotLocalized(this StringAssertions assertions, string expected, string because = "", params object[] becauseArgs)
|
||||
{
|
||||
if (!DotnetUnderTest.IsLocalized())
|
||||
{
|
||||
return BeVisuallyEquivalentTo(assertions, expected, because, becauseArgs);
|
||||
}
|
||||
|
||||
return new AndConstraint<StringAssertions>(assertions);
|
||||
}
|
||||
|
||||
public static AndConstraint<StringAssertions> ContainVisuallySameFragment(this StringAssertions assertions, string expected, string because = "", params object[] becauseArgs)
|
||||
{
|
||||
Execute.Assertion
|
||||
|
@ -44,15 +34,5 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
|
||||
return new AndConstraint<StringAssertions>(assertions);
|
||||
}
|
||||
|
||||
public static AndConstraint<StringAssertions> ContainVisuallySameFragmentIfNotLocalized(this StringAssertions assertions, string expected, string because = "", params object[] becauseArgs)
|
||||
{
|
||||
if (!DotnetUnderTest.IsLocalized())
|
||||
{
|
||||
return ContainVisuallySameFragment(assertions, expected, because, becauseArgs);
|
||||
}
|
||||
|
||||
return new AndConstraint<StringAssertions>(assertions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue