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

Commit 12f4d61

Browse files
committed
Add more GitStatusEntry tests
1 parent 76732e7 commit 12f4d61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/tests/UnitTests/IO/GitStatusEntryTests.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,18 @@ public void StagedIsFalse()
141141
gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
142142
GitFileStatus.None, GitFileStatus.Renamed, "SomeOriginalPath");
143143
gitStatusEntry.Staged.Should().BeFalse();
144+
145+
gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
146+
GitFileStatus.Untracked, GitFileStatus.Untracked, "SomeOriginalPath");
147+
gitStatusEntry.Staged.Should().BeFalse();
148+
149+
gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
150+
GitFileStatus.Ignored, GitFileStatus.Ignored, "SomeOriginalPath");
151+
gitStatusEntry.Staged.Should().BeFalse();
152+
153+
gitStatusEntry = new GitStatusEntry("SomePath", "SomeFullPath", "SomeProjectPath",
154+
GitFileStatus.Unmerged, GitFileStatus.Added, "SomeOriginalPath");
155+
gitStatusEntry.Staged.Should().BeFalse();
144156
}
145157

146158
[Test]

0 commit comments

Comments
 (0)