mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 09:51:23 +00:00
Activate lint gosimple.
This commit is contained in:
@@ -126,7 +126,7 @@ func TestWriteFile(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("expected read to work: %v", err)
|
||||
}
|
||||
if bytes.Compare(c, content) != 0 {
|
||||
if !bytes.Equal(c, content) {
|
||||
t.Fatalf("incorrect content: %v", content)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user