Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 162d620

Browse files
committed
Fix tests expecting unlocalized messages from dotnet/sdk
1 parent f4d884a commit 162d620

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void ItDoesNotImplicitlyRestoreAProjectWhenBuildingWithTheNoRestoreOption
8282
.WithWorkingDirectory(testInstance.Root)
8383
.ExecuteWithCapturedOutput("--no-restore")
8484
.Should().Fail()
85-
.And.HaveStdOutContaining("project.assets.json' not found.");;
85+
.And.HaveStdOutContaining("project.assets.json");
8686
}
8787

8888
[Fact]

test/dotnet-pack.Tests/PackTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public void ItDoesNotImplicitlyRestoreAProjectWhenPackagingWithTheNoRestoreOptio
197197
.WithWorkingDirectory(testInstance.Root)
198198
.ExecuteWithCapturedOutput("--no-restore")
199199
.Should().Fail()
200-
.And.HaveStdOutContaining("project.assets.json' not found.");;
200+
.And.HaveStdOutContaining("project.assets.json");
201201
}
202202

203203
[Fact]

test/dotnet-publish.Tests/GivenDotnetPublishPublishesProjects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void ItDoesNotImplicitlyRestoreAProjectWhenPublishingWithTheNoRestoreOpti
9292
.WithWorkingDirectory(testProjectDirectory)
9393
.ExecuteWithCapturedOutput("--framework netcoreapp2.0 --no-restore")
9494
.Should().Fail()
95-
.And.HaveStdOutContaining("project.assets.json' not found.");;
95+
.And.HaveStdOutContaining("project.assets.json");
9696
}
9797

9898
[Fact]

test/dotnet-run.Tests/GivenDotnetRunRunsCsProj.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void ItDoesNotImplicitlyRestoreAProjectWhenRunningWithTheNoRestoreOption(
8787
.WithWorkingDirectory(testProjectDirectory)
8888
.ExecuteWithCapturedOutput("--no-restore")
8989
.Should().Fail()
90-
.And.HaveStdOutContaining("project.assets.json' not found.");;
90+
.And.HaveStdOutContaining("project.assets.json");
9191
}
9292

9393
[Fact]

test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestfromCsproj.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void ItDoesNotImplicitlyRestoreAProjectWhenTestingWithTheNoRestoreOption(
7373
.WithWorkingDirectory(testProjectDirectory)
7474
.ExecuteWithCapturedOutput($"{TestBase.ConsoleLoggerOutputNormal} --no-restore")
7575
.Should().Fail()
76-
.And.HaveStdOutContaining("project.assets.json' not found.");;
76+
.And.HaveStdOutContaining("project.assets.json");
7777
}
7878

7979
[Fact]

0 commit comments

Comments
 (0)