Skip to content

Commit 3b6e956

Browse files
authored
fix: simplify statement
1 parent 46355c0 commit 3b6e956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gazelle/pythonconfig/pythonconfig_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ func TestDistributionSanitizing(t *testing.T) {
2121
for name, tc := range tests {
2222
t.Run(name, func(t *testing.T) {
2323
got := pythonconfig.SanitizeDistribution(tc.input)
24-
if !reflect.DeepEqual(tc.want, got) {
25-
t.Fatalf("expected %#v, got %#v", tc.want, got)
24+
if tc.want != got {
25+
t.Fatalf("expected %q, got %q", tc.want, got)
2626
}
2727
})
2828
}

0 commit comments

Comments
 (0)