Make dotnet.Tests pass on localized setup
This commit is contained in:
parent
a2a33591ce
commit
f09124fcd6
6 changed files with 12 additions and 20 deletions
|
@ -4,6 +4,7 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using FluentAssertions;
|
||||
using Microsoft.DotNet.Cli.Utils;
|
||||
using Microsoft.DotNet.Tools.Test.Utilities;
|
||||
using Xunit;
|
||||
|
||||
|
@ -29,7 +30,7 @@ namespace Microsoft.DotNet.Tests
|
|||
.WithWorkingDirectory(testInstance)
|
||||
.ExecuteWithCapturedOutput("crash")
|
||||
.Should().Fail()
|
||||
.And.HaveStdErrContaining("No executable found matching command \"dotnet-crash\"");
|
||||
.And.HaveStdErrContaining(string.Format(LocalizableStrings.NoExecutableFoundMatchingCommand, "dotnet-crash"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue