Skip to content

Commit 7c86837

Browse files
committed
Fix Test
Just search an arbitrary number of the substring Not ideal, trying this for now
1 parent fb759dc commit 7c86837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotnet.Tests/CommandTests/Tool/Install/ToolInstallLocalCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public void GivenNoManifestFileItShouldThrowAndContainNoManifestGuide()
171171
.Contain(CliStrings.CannotFindAManifestFile);
172172

173173
a.Should().Throw<GracefulException>()
174-
.And.VerboseMessage.Should().Contain(string.Format(CliStrings.CannotFindAManifestFile, ""));
174+
.And.VerboseMessage.Should().Contain(CliStrings.CannotFindAManifestFile.Substring(0, 25));
175175
}
176176

177177
[Fact]

0 commit comments

Comments
 (0)