Skip to content

Commit

Permalink
Responded to Doug's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zasweq committed Dec 15, 2021
1 parent 0abbe42 commit 4a1b633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xds/internal/clusterspecifier/rls/rls_test.go
Expand Up @@ -99,8 +99,8 @@ func (s) TestParseClusterSpecifierConfig(t *testing.T) {
if err != nil {
t.Fatalf("json.Unmarshal(%+v) returned err %v", lbCfgJSON, err)
}
if !cmp.Equal(want, got, cmpopts.EquateEmpty()) {
t.Fatalf("ParseClusterSpecifierConfig(%+v) returned expected, diff (-want +got):\\n%s", test.rlcs, cmp.Diff(want, got, cmpopts.EquateEmpty()))
if diff := cmp.Diff(want, got, cmpopts.EquateEmpty()); diff != "" {
t.Fatalf("ParseClusterSpecifierConfig(%+v) returned expected, diff (-want +got) %v", test.rlcs, diff)
}
}
}
Expand Down

0 comments on commit 4a1b633

Please sign in to comment.