mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
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:
parent
2826b1e9c0
commit
52614a59c3
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