Skip to content

Commit ba1bbcb

Browse files
committed
Remove test for bare repositories
1 parent 1298eb9 commit ba1bbcb

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/NerdBank.GitVersioning.Tests/VersionFileTests.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,9 @@ public void VersionJson_DoNotInheritButNoVersionSpecified()
485485
}
486486

487487
[Theory]
488-
[InlineData(false, false)]
489-
[InlineData(true, false)]
490-
[InlineData(true, true)]
491-
public void VersionJson_Inheritance(bool commitInSourceControl, bool bareRepo)
488+
[InlineData(false)]
489+
[InlineData(true)]
490+
public void VersionJson_Inheritance(bool commitInSourceControl)
492491
{
493492
if (commitInSourceControl)
494493
{
@@ -531,11 +530,6 @@ public void VersionJson_Inheritance(bool commitInSourceControl, bool bareRepo)
531530
"inheritWithVersion");
532531

533532
Repository operatingRepo = this.Repo;
534-
if (bareRepo)
535-
{
536-
operatingRepo = new Repository(
537-
Repository.Clone(this.RepoPath, this.CreateDirectoryForNewRepo(), new CloneOptions { IsBare = true }));
538-
}
539533

540534
using (operatingRepo)
541535
{

0 commit comments

Comments
 (0)