Skip to content

Commit

Permalink
Trying Path.Combine.
Browse files Browse the repository at this point in the history
  • Loading branch information
saibulusu committed Mar 7, 2025
1 parent 750ac97 commit 12beebc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void SetupTest(PlatformID platformID, Architecture architecture)
this.mockFixture.Parameters["Scenario"] = "CPSMock";
this.mockFixture.Parameters["ConfidenceLevel"] = "99";

string exampleResults = File.ReadAllText(this.mockFixture.Combine(CPSServerExecutorTests2.ExamplesDirectory, "CPS_Example_Results_Server.txt"));
string exampleResults = File.ReadAllText(Path.Combine(CPSServerExecutorTests2.ExamplesDirectory, "CPS_Example_Results_Server.txt"));

this.mockFixture.FileSystem.Setup(rt => rt.File.ReadAllTextAsync(It.IsAny<string>(), It.IsAny<CancellationToken>()))
.ReturnsAsync(exampleResults);
Expand Down

0 comments on commit 12beebc

Please sign in to comment.