Skip to content

Commit

Permalink
Switch to Default Repo Root
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminMichaelis committed Nov 5, 2023
1 parent 0adf994 commit a0cd433
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public class TypeTests
public void MakingTypesAvailableExternallyPS1_ExitCodeIs0()
{
if (PowerShellTestUtilities.PowerShellNotInstalled) Assert.Inconclusive("PowerShell not installed");
// EssentialCSharp\\src\\Chapter10.Tests\\bin\\Debug\\netcoreapp3.0
string ps1Path = Path.GetFullPath("../../../../Chapter10/Listing10.08.MakingTypesAvailableExternally.ps1", Environment.CurrentDirectory);

string ps1Path = Path.Join(IntelliTect.Multitool.RepositoryPaths.GetDefaultRepoRoot(), "src", "Chapter10", "Listing10.08.MakingTypesAvailableExternally.ps1");
string traceValue = "0";

int exitCode = PowerShellTestUtilities.RunPowerShellScript(ps1Path, traceValue);
Expand Down

0 comments on commit a0cd433

Please sign in to comment.