mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-13 11:35:52 +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()
|
||||
|
||||
// Setup a defer to catch the expected panic to ensure it actually
|
||||
// paniced.
|
||||
// panicked.
|
||||
defer func() {
|
||||
if err := recover(); err == nil {
|
||||
t.Error("mustRegister did not panic as expected")
|
||||
|
|
Loading…
Add table
Reference in a new issue