common/math: fix typo in TestMustParseUint64Panic error message #32648 (#1555)

Fix typo in test error message where "MustParseBig" was incorrectly
used instead of "MustParseUint64" in the TestMustParseUint64Panic
function.

The test still functions correctly, but now the error message
accurately reflects the function being tested.

Co-authored-by: Gengar <creeptogengar@gmail.com>
This commit is contained in:
Daniel Liu 2025-09-24 07:49:30 +08:00 committed by GitHub
parent 2826b1e9c0
commit 52614a59c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ func TestMustParseUint64(t *testing.T) {
func TestMustParseUint64Panic(t *testing.T) {
defer func() {
if recover() == nil {
t.Error("MustParseBig should've panicked")
t.Error("MustParseUint64 should've panicked")
}
}()
MustParseUint64("ggg")