diff --git a/src/Artifacts.UnitTests/ArtifactsTests.cs b/src/Artifacts.UnitTests/ArtifactsTests.cs index 8d649664..a2a5bb9a 100644 --- a/src/Artifacts.UnitTests/ArtifactsTests.cs +++ b/src/Artifacts.UnitTests/ArtifactsTests.cs @@ -428,7 +428,7 @@ public void RenamedFilesWithIncorrectNumberShouldFail() .TryBuild(out bool result, out BuildOutput buildOutput); result.ShouldBeFalse(buildOutput.GetConsoleLog()); - (buildOutput.ErrorEvents.Single().Message == @"Artifact Include 'bin\Debug\foo.exe;bin\Debug\bar.dll' length does not match with RenamedFiles 'foo.test.exe'").ShouldBeTrue(); + (buildOutput.ErrorEvents.Single().Message == @"Artifact Include 'bin\Debug\foo.exe;bin\Debug\bar.dll' length does not match with RenamedFiles 'foo.test.exe'").ShouldBeTrue(buildOutput.ErrorEvents.First().Message); } } } \ No newline at end of file