From 12f4d61043c665bd05627feb1754aceb3a3ff24a Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Mon, 17 Jun 2019 09:34:48 +0200 Subject: [PATCH] Add more GitStatusEntry tests --- src/tests/UnitTests/IO/GitStatusEntryTests.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/tests/UnitTests/IO/GitStatusEntryTests.cs b/src/tests/UnitTests/IO/GitStatusEntryTests.cs index 4c0d57904..fa6566b11 100644 --- a/src/tests/UnitTests/IO/GitStatusEntryTests.cs +++ b/src/tests/UnitTests/IO/GitStatusEntryTests.cs @@ -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]