diff --git a/src/NerdBank.GitVersioning.Tests/VersionOracleTests.cs b/src/NerdBank.GitVersioning.Tests/VersionOracleTests.cs index af4d1e05..937b0575 100644 --- a/src/NerdBank.GitVersioning.Tests/VersionOracleTests.cs +++ b/src/NerdBank.GitVersioning.Tests/VersionOracleTests.cs @@ -444,7 +444,7 @@ public void Worktree_Support(bool detachedHead) var context = this.CreateGitContext(workTreePath); var oracleWorkTree = new VersionOracle(context); Assert.Equal(oracleOriginal.Version, oracleWorkTree.Version); - + Assert.True(context.TrySelectCommit("HEAD")); Assert.True(context.TrySelectCommit(this.LibGit2Repository.Head.Tip.Sha)); } @@ -736,7 +736,7 @@ public void GetVersion_PathFilterInTwoDeepSubDirAndVersionBump() { this.InitializeSourceControl(); - const string relativeDirectory = "src\\lib"; + const string relativeDirectory = "src/lib"; var versionOptions = new VersionOptions { Version = new SemanticVersion("1.1"),