Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Aug 2, 2024
1 parent 18b445d commit 0f48ce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/context/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func TestChainRegistry(t *testing.T) {
require.Error(t, r.Set(btc.ChainId, btc, nil))
require.Error(t, r.Set(btc.ChainId, nil, btcParams))
require.Error(t, r.Set(123, btc, btcParams))
require.Error(t, r.Set(btc.ChainId, btc, ethParams))

// With failure on adding unsupported chains
require.ErrorIs(t, r.Set(opt.ChainId, opt, optParams), ErrChainNotSupported)
Expand Down

0 comments on commit 0f48ce3

Please sign in to comment.