Skip to content

Commit

Permalink
Fix unneeded parenthesis
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <[email protected]>
  • Loading branch information
dbussink committed Feb 23, 2024
1 parent b079331 commit 2973dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/srvtopo/resilient_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func TestGetSrvKeyspaceNames(t *testing.T) {
// Check that we only checked the topo service 1 or 2 times during the
// period where we got the cached error.
cachedReqs, ok := counts.Counts()[cachedCategory]
if !ok || (cachedReqs) > 2 {
if !ok || cachedReqs > 2 {
t.Errorf("expected <= 2 cached requests got %v", cachedReqs)
}

Expand Down

0 comments on commit 2973dc4

Please sign in to comment.