Debian Codegraph @

internal/unix/error_test.go

raw symbols SCIP
1 package unix
2
3 import (
4 "testing"
5
6 "github.com/go-quicktest/qt"
7
8 "github.com/cilium/ebpf/internal"
9 )
10
11 func TestErrNonLinux(t *testing.T) {
12 err := errNonLinux()
13 qt.Assert(t, qt.StringContains(err.Error(), t.Name()))
14 qt.Assert(t, qt.ErrorIs(err, internal.ErrNotSupportedOnOS))
15 }