This commit is contained in:
Mateusz Poliwczak 2024-07-31 08:55:55 +02:00
parent 6aeab9e455
commit 202363e809
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
The value returned by [sha256.New] and [sha256.New224] now also implements the [encoding.BinaryAppender] interface
The values returned by [sha256.New] and [sha256.New224] now also implement the [encoding.BinaryAppender] interface

View File

@ -1 +1 @@
The value returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implements the [encoding.BinaryAppender] interface.
The values returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implement the [encoding.BinaryAppender] interface.

View File

@ -112,7 +112,7 @@ func TestGoldenMarshal(t *testing.T) {
continue
}
if string(state) != g.halfState {
if string(stateAppend) != g.halfState {
t.Errorf("md5(%q) stateAppend = %q, want %q", g.in, stateAppend, g.halfState)
continue
}