Skip to content

Commit

Permalink
PR(LINT): Make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Sep 26, 2024
1 parent 1bd7955 commit 6b9be21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion tests/integration/acp/p2p/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import (
"fmt"
"testing"

testUtils "github.com/sourcenetwork/defradb/tests/integration"
"github.com/sourcenetwork/immutable"

testUtils "github.com/sourcenetwork/defradb/tests/integration"
)

func TestACP_P2PCreatePrivateDocumentsOnDifferentNodes_SourceHubACP(t *testing.T) {
Expand Down
4 changes: 0 additions & 4 deletions tests/integration/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,6 @@ func getIndexes(
expectedErrorRaised = expectedErrorRaised ||
AssertError(s.t, s.testCase.Description, err, action.ExpectedError)
}

}

assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised)
Expand Down Expand Up @@ -1534,7 +1533,6 @@ func updateDoc(
)
expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError)
}

}

assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised)
Expand Down Expand Up @@ -1862,7 +1860,6 @@ func backupImport(
func() error { return node.BasicImport(s.ctx, action.Filepath) },
)
expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError)

} else {
for _, node := range s.nodes {
err := withRetryOnNode(
Expand All @@ -1871,7 +1868,6 @@ func backupImport(
)
expectedErrorRaised = AssertError(s.t, s.testCase.Description, err, action.ExpectedError)
}

}

assertExpectedErrorRaised(s.t, s.testCase.Description, action.ExpectedError, expectedErrorRaised)
Expand Down

0 comments on commit 6b9be21

Please sign in to comment.