File tree Expand file tree Collapse file tree 4 files changed +0
-6
lines changed Expand file tree Collapse file tree 4 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ func TestNewlwkNetwork(t *testing.T) {
2727 },
2828 }
2929 for name , tt := range tests {
30- tt := tt
3130 t .Run (name , func (t * testing.T ) {
3231 t .Parallel ()
3332 got , err := lwk .NewlwkNetwork (tt .network )
@@ -62,7 +61,6 @@ func TestLWKURL(t *testing.T) {
6261 },
6362 }
6463 for name , tt := range tests {
65- tt := tt
6664 t .Run (name , func (t * testing.T ) {
6765 t .Parallel ()
6866 got , err := lwk .NewLWKURL (tt .endpoint )
@@ -98,7 +96,6 @@ func TestElectrsURL(t *testing.T) {
9896 },
9997 }
10098 for name , tt := range tests {
101- tt := tt
10299 t .Run (name , func (t * testing.T ) {
103100 t .Parallel ()
104101 got , err := lwk .NewElectrsURL (tt .endpoint )
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ func TestPeerswapCustomMessageType(t *testing.T) {
2121 "invalid" : {msgType : "invalid" , wantErr : true },
2222 }
2323 for name , tt := range tests {
24- tt := tt
2524 t .Run (name , func (t * testing.T ) {
2625 t .Parallel ()
2726 got , err := PeerswapCustomMessageType (tt .msgType )
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ func TestCheckPremiumAmount_Execute(t *testing.T) {
6363 }
6464
6565 for name , tt := range tests {
66- tt := tt
6766 t .Run (name , func (t * testing.T ) {
6867 t .Parallel ()
6968 got := v .Execute (nil , tt .swap )
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ func Test_Wumbo(t *testing.T) {
9292
9393 for _ , tt := range tests {
9494 // Rebind for parallel tests.
95- tt := tt
9695 t .Run (tt .description , func (t * testing.T ) {
9796 t .Parallel ()
9897 require := require .New (t )
You can’t perform that action at this time.
0 commit comments