Skip to content

Commit 4f452f6

Browse files
author
William Li
authored
Change the assertion to not to catch the RAR warning (#3509)
It is intent to catch the warning from Conflict Resolution. Continue investigation on why RAR start to have such warning in #3508
1 parent 527e0e0 commit 4f452f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildADesktopLibrary.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public void It_uses_hintpath_when_replacing_simple_name_references(bool useFacad
387387
.Should().Be(correctHttpReference);
388388
}
389389

390-
[FullMSBuildOnlyFact]
390+
[Fact]
391391
public void It_tolerates_newline_in_hint_path()
392392
{
393393
string hintPath = BuildReferencedBuildAndReturnOutputDllPath();
@@ -417,7 +417,7 @@ public void It_tolerates_newline_in_hint_path()
417417
var buildCommand = new BuildCommand(Log, Path.Combine(testAsset.TestRoot, project.Name));
418418
var msbuildBuildCommand = new MSBuildCommand(Log, "Build", buildCommand.FullPathProjectFile);
419419
msbuildBuildCommand.Execute().Should().Pass()
420-
.And.NotHaveStdOutContaining("Illegal characters in path");
420+
.And.NotHaveStdOutContaining("System.ArgumentException");
421421
}
422422

423423
private string BuildReferencedBuildAndReturnOutputDllPath()

0 commit comments

Comments
 (0)