Skip to content

Commit

Permalink
pass lint
Browse files Browse the repository at this point in the history
  • Loading branch information
torcolvin committed Feb 28, 2025
1 parent ece9cc6 commit 02ef8e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rest/utilities_testing_blip_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ func (btc *BlipTesterCollectionClient) StartPullSince(options BlipTesterPullOpti
errorDomain := subChangesResponse.Properties["Error-Domain"]
errorCode := subChangesResponse.Properties["Error-Code"]
if errorDomain != "" && errorCode != "" {
require.FailNowf(btc.TB(), "error %s %s from subChanges with body: %s", errorDomain, errorCode, string(rspBody))
require.FailNow(btc.TB(), fmt.Sprintf("error %s %s from subChanges with body: %s", errorDomain, errorCode, string(rspBody)))
}
}

Expand Down
4 changes: 2 additions & 2 deletions topologytest/couchbase_lite_mock_peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (p *CouchbaseLiteMockPeer) getSingleSGBlipClient() *PeerBlipTesterClient {
for _, c := range p.blipClients {
return c
}
require.Fail(p.TB(), "no blipClients found for %s", p)
require.Fail(p.TB(), fmt.Sprintf("no blipClients found for %s", p))
return nil
}

Expand Down Expand Up @@ -262,7 +262,7 @@ func (r *CouchbaseLiteMockReplication) Start() {
case PeerReplicationDirectionPull:
r.btcRunner.StartPull(r.btc.ID())
default:
require.Fail(r.btc.TB(), "unsupported replication direction %q", r.direction)
require.Fail(r.btc.TB(), fmt.Sprintf("unsupported replication direction %q", r.direction))
}
}

Expand Down

0 comments on commit 02ef8e5

Please sign in to comment.