We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c003fb1 commit 62f1634Copy full SHA for 62f1634
dev-tools/mage/downloads/utils_test.go
@@ -86,6 +86,7 @@ func TestVerifyChecksum(t *testing.T) {
86
require.NoError(t, os.WriteFile(checksumPath, []byte(checksumContent), 0644))
87
88
err := verifyChecksum(checksumPath)
89
- assert.ErrorContains(t, err, "does not match expected checksum")
+ contains := fmt.Sprintf("%s checksum mismatch: expected=%s", fileName, hashHex)
90
+ assert.ErrorContains(t, err, contains)
91
})
92
}
0 commit comments