Skip to content

Commit

Permalink
Merge pull request #14 from pfpack/release/v2.1.3-rc.1.0.0
Browse files Browse the repository at this point in the history
release/v2.1.3-rc.1.0.0
  • Loading branch information
andreise authored May 19, 2022
2 parents 29a3e76 + d342736 commit 4e8a663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/core-unit/Unit.Tests/UnitTests/UnitTests.Equality.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using NUnit.Framework;
using System;
using System.Collections.Generic;
using static PrimeFuncPack.UnitTest.TestData;

namespace PrimeFuncPack.Core.Tests;
Expand Down Expand Up @@ -82,7 +83,7 @@ public void GetHashCode_ExpectHashCodeFromHashCombine()
var source = Unit.Value;
var actual = source.GetHashCode();

var expected = HashCode.Combine(typeof(Unit));
var expected = HashCode.Combine(EqualityComparer<Type>.Default.GetHashCode(typeof(Unit)));
Assert.AreEqual(expected, actual);
}
}
2 changes: 1 addition & 1 deletion src/core-unit/Unit/Unit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Description>PrimeFuncPack Core.Unit is a core library for .NET consisting of Unit type targeted for use in functional programming.</Description>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Core.Unit</AssemblyName>
<Version>2.1.3-preview.1.0.0</Version>
<Version>2.1.3-rc.1.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 4e8a663

Please sign in to comment.