Skip to content
#

kernel

Here are 2,314 public repositories matching this topic...

gvisor
tamird
tamird commented Oct 28, 2020

Per the example in https://godoc.org/github.com/google/go-cmp/cmp#Diff the form should be:

if diff := cmp.Diff(want, got); diff != "" {
    t.Errorf("MakeGatewayInfo() mismatch (-want +got):\n%s", diff)
}

however, NUD tests (and possibly others) are littered with the reverse, e.g.:
https://github.com/google/gvisor/blob/8fa18e8ecb3e3da2015e5c73db9e46494dcfeff7/pkg/tcpip/stack/neighbo

Improve this page

Add a description, image, and links to the kernel topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the kernel topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.