Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2252 from n8sh/core-hash-19090
Browse files Browse the repository at this point in the history
Fix Issue 19090 - core.internal.hash.bytesHash unit test uses incorrect test vector on BigEndian machines
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot committed Nov 17, 2018
2 parents af10cdd + 3118877 commit 6f27f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/internal/hash.d
Expand Up @@ -851,7 +851,7 @@ pure nothrow @system @nogc unittest
version (BigEndian)
{
const ubyte[7] a = [99, 4, 3, 2, 1, 5, 88];
const uint[2] b = [0x01_02_03_04, 0x05_ff_ff_ff];
const uint[2] b = [0x04_03_02_01, 0x05_ff_ff_ff];
}
else
{
Expand Down

0 comments on commit 6f27f55

Please sign in to comment.