diff --git a/project/Snapper.Nunit/EqualToSnapshotConstraint.cs b/project/Snapper.Nunit/EqualToSnapshotConstraint.cs index b5afd38..6a0c1e9 100644 --- a/project/Snapper.Nunit/EqualToSnapshotConstraint.cs +++ b/project/Snapper.Nunit/EqualToSnapshotConstraint.cs @@ -8,6 +8,8 @@ public class EqualToSnapshotConstraint : Constraint private readonly string? _childSnapshotName; private readonly SnapshotSettings? _snapshotSettings; + public override string Description { get => DisplayName; } + public EqualToSnapshotConstraint(string? childSnapshotName = null, SnapshotSettings? snapshotSettings = null) { _childSnapshotName = childSnapshotName; diff --git a/project/Tests/Snapper.Nunit.Tests/Snapper.Nunit.Tests.csproj b/project/Tests/Snapper.Nunit.Tests/Snapper.Nunit.Tests.csproj index 312ba77..920ed83 100644 --- a/project/Tests/Snapper.Nunit.Tests/Snapper.Nunit.Tests.csproj +++ b/project/Tests/Snapper.Nunit.Tests/Snapper.Nunit.Tests.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/project/Tests/Snapper.TestFrameworkSupport.Tests/Snapper.TestFrameworkSupport.Tests.csproj b/project/Tests/Snapper.TestFrameworkSupport.Tests/Snapper.TestFrameworkSupport.Tests.csproj index 236aacb..d9e8d2c 100644 --- a/project/Tests/Snapper.TestFrameworkSupport.Tests/Snapper.TestFrameworkSupport.Tests.csproj +++ b/project/Tests/Snapper.TestFrameworkSupport.Tests/Snapper.TestFrameworkSupport.Tests.csproj @@ -14,8 +14,8 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +