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

Commit 6f27f55

Browse files
authored
Merge pull request #2252 from n8sh/core-hash-19090
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>
2 parents af10cdd + 3118877 commit 6f27f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/internal/hash.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ pure nothrow @system @nogc unittest
851851
version (BigEndian)
852852
{
853853
const ubyte[7] a = [99, 4, 3, 2, 1, 5, 88];
854-
const uint[2] b = [0x01_02_03_04, 0x05_ff_ff_ff];
854+
const uint[2] b = [0x04_03_02_01, 0x05_ff_ff_ff];
855855
}
856856
else
857857
{

0 commit comments

Comments
 (0)