Skip to content

Commit 62f1634

Browse files
committed
fix test
1 parent c003fb1 commit 62f1634

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-tools/mage/downloads/utils_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func TestVerifyChecksum(t *testing.T) {
8686
require.NoError(t, os.WriteFile(checksumPath, []byte(checksumContent), 0644))
8787

8888
err := verifyChecksum(checksumPath)
89-
assert.ErrorContains(t, err, "does not match expected checksum")
89+
contains := fmt.Sprintf("%s checksum mismatch: expected=%s", fileName, hashHex)
90+
assert.ErrorContains(t, err, contains)
9091
})
9192
}

0 commit comments

Comments
 (0)