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

Commit 5a98035

Browse files
Adding some detail to assertions
1 parent f0435e0 commit 5a98035

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tests/TestUtils/Helpers/AssertExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ public static void AssertNotEqual(this IList<GitStatusEntry> gitLogEntries, ILis
102102

103103
public static void AssertEqual(this GitStatus gitStatus, GitStatus other)
104104
{
105-
gitStatus.Ahead.Should().Be(other.Ahead);
106-
gitStatus.Behind.Should().Be(other.Behind);
107-
gitStatus.LocalBranch.Should().Be(other.LocalBranch);
108-
gitStatus.RemoteBranch.Should().Be(other.RemoteBranch);
105+
gitStatus.Ahead.Should().Be(other.Ahead, "Ahead should be equal");
106+
gitStatus.Behind.Should().Be(other.Behind, "Behind should be equal");
107+
gitStatus.LocalBranch.Should().Be(other.LocalBranch, "LocalBranch should be equal");
108+
gitStatus.RemoteBranch.Should().Be(other.RemoteBranch, "RemoteBranch should be equal");
109109
gitStatus.Entries.AssertEqual(other.Entries);
110110
}
111111

0 commit comments

Comments
 (0)