mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-15 04:11:37 +01:00
Update params_test.go
This commit is contained in:
parent
5baf02ee10
commit
a71f87eec6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func TestMustRegisterPanic(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
// Setup a defer to catch the expected panic to ensure it actually
|
// Setup a defer to catch the expected panic to ensure it actually
|
||||||
// paniced.
|
// panicked.
|
||||||
defer func() {
|
defer func() {
|
||||||
if err := recover(); err == nil {
|
if err := recover(); err == nil {
|
||||||
t.Error("mustRegister did not panic as expected")
|
t.Error("mustRegister did not panic as expected")
|
||||||
|
|
Loading…
Add table
Reference in a new issue