Skip to content

Commit

Permalink
Fix directory separator to be linux compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed May 29, 2021
1 parent 4f46d95 commit 0066fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NerdBank.GitVersioning.Tests/VersionOracleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 0066fa0

Please sign in to comment.