Skip to content

Commit c7eb376

Browse files
fix: correct typo in TestMustParseUint64Panic error message (#32648)
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.
1 parent a499a11 commit c7eb376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/math/integer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestMustParseUint64(t *testing.T) {
110110
func TestMustParseUint64Panic(t *testing.T) {
111111
defer func() {
112112
if recover() == nil {
113-
t.Error("MustParseBig should've panicked")
113+
t.Error("MustParseUint64 should've panicked")
114114
}
115115
}()
116116
MustParseUint64("ggg")

0 commit comments

Comments
 (0)