@@ -17,7 +17,7 @@ func TestPrettyAddressWith(t *testing.T) {
1717 require .NotNil (nativeAddr )
1818 require .NotNil (ethAddr )
1919
20- t .Run ("eth preferred when known" , func (t * testing.T ) {
20+ t .Run ("eth preferred when known" , func (_ * testing.T ) {
2121 ctx := AddressFormatContext {
2222 Names : types.AccountNames {
2323 nativeAddr .String (): "my" ,
@@ -31,7 +31,7 @@ func TestPrettyAddressWith(t *testing.T) {
3131 require .Equal ("my (" + ethAddr .Hex ()+ ")" , PrettyAddressWith (ctx , ethAddr .Hex ()))
3232 })
3333
34- t .Run ("native fallback when eth unknown" , func (t * testing.T ) {
34+ t .Run ("native fallback when eth unknown" , func (_ * testing.T ) {
3535 ctx := AddressFormatContext {
3636 Names : types.AccountNames {
3737 nativeAddr .String (): "my" ,
@@ -44,7 +44,7 @@ func TestPrettyAddressWith(t *testing.T) {
4444 require .Equal ("my (" + ethAddr .Hex ()+ ")" , PrettyAddressWith (ctx , ethAddr .Hex ()))
4545 })
4646
47- t .Run ("unknown returns unchanged" , func (t * testing.T ) {
47+ t .Run ("unknown returns unchanged" , func (_ * testing.T ) {
4848 ctx := AddressFormatContext {
4949 Names : types.AccountNames {},
5050 Eth : map [string ]string {},
@@ -54,7 +54,7 @@ func TestPrettyAddressWith(t *testing.T) {
5454 require .Equal (ethAddr .Hex (), PrettyAddressWith (ctx , ethAddr .Hex ()))
5555 })
5656
57- t .Run ("unparseable returns unchanged" , func (t * testing.T ) {
57+ t .Run ("unparseable returns unchanged" , func (_ * testing.T ) {
5858 ctx := AddressFormatContext {
5959 Names : types.AccountNames {
6060 nativeAddr .String (): "my" ,
0 commit comments