mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +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
b6866b775f
commit
7915b7dff9
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