Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Add more GitStatusEntry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shana committed Jun 17, 2019
1 parent 76732e7 commit 12f4d61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/tests/UnitTests/IO/GitStatusEntryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,18 @@ public void StagedIsFalse()
gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
GitFileStatus.None, GitFileStatus.Renamed, "SomeOriginalPath");
gitStatusEntry.Staged.Should().BeFalse();

gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
GitFileStatus.Untracked, GitFileStatus.Untracked, "SomeOriginalPath");
gitStatusEntry.Staged.Should().BeFalse();

gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
GitFileStatus.Ignored, GitFileStatus.Ignored, "SomeOriginalPath");
gitStatusEntry.Staged.Should().BeFalse();

gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
GitFileStatus.Unmerged, GitFileStatus.Added, "SomeOriginalPath");
gitStatusEntry.Staged.Should().BeFalse();
}

[Test]
Expand Down

0 comments on commit 12f4d61

Please sign in to comment.