mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-30 22:06:37 -04:00
unix: fix staticcheck issues
Change-Id: If7abd7a743c4359a9780401cec7c874d530ee268 Reviewed-on: https://go-review.googlesource.com/c/sys/+/396674 Trust: Matt Layher <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
@@ -410,6 +410,10 @@ const (
|
||||
}
|
||||
|
||||
got, err := filter(inFiles[0].src, commonSet.keepCommon)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
expected := []byte(mergedFile)
|
||||
|
||||
if !bytes.Equal(got, expected) {
|
||||
|
||||
Reference in New Issue
Block a user