multi: disable linter paralleltest

This commit is contained in:
yyforyongyu committed 2023-10-13 13:50:09 +08:00
1 parent 839b6271e5
commit 22600b47f1
6 files changed
+23 -25

No files matched your search

+5 -5
View File
@@ -839,7 +839,7 @@ func TestTaprootReceiverHtlcSpend(t *testing.T) {
valid: false,
},
}
for i, testCase := range testCases { //nolint:paralleltest
for i, testCase := range testCases {
i := i
testCase := testCase
spendTxCopy := spendTx.Copy()
@@ -1140,7 +1140,7 @@ func TestTaprootCommitScriptToSelf(t *testing.T) {
},
}
for i, testCase := range testCases { //nolint:paralleltest
for i, testCase := range testCases {
i := i
testCase := testCase
spendTxCopy := spendTx.Copy()
@@ -1317,7 +1317,7 @@ func TestTaprootCommitScriptRemote(t *testing.T) {
},
}
for i, testCase := range testCases { //nolint:paralleltest
for i, testCase := range testCases {
i := i
testCase := testCase
spendTxCopy := spendTx.Copy()
@@ -1536,7 +1536,7 @@ func TestTaprootAnchorScript(t *testing.T) {
},
}
for i, testCase := range testCases { //nolint:paralleltest
for i, testCase := range testCases {
i := i
testCase := testCase
spendTxCopy := spendTx.Copy()
@@ -1833,7 +1833,7 @@ func TestTaprootSecondLevelHtlcScript(t *testing.T) {
},
}
for i, testCase := range testCases { //nolint:paralleltest
for i, testCase := range testCases {
i := i
testCase := testCase
spendTxCopy := spendTx.Copy()