mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
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.
This commit is contained in:
parent
a499a11a16
commit
c7eb37608b
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue