☰
Debian Codegraph
@
0.22.0+ds1-1
0.21.0+ds1-1
/
/
internal
/
unix
/
errno_linux_test.go
☽
☼
internal/unix/errno_linux_test.go
code
plain
raw
symbols
SCIP
Expat
2017 Nathan Sweet; 2018-2019 Cloudflare; 2019 Cilium
debian/copyright
1
package
unix
2
3
import
(
4
"testing"
5
6
"github.com/go-quicktest/qt"
7
"golang.org/x/sys/unix"
8
)
9
10
func
TestErrnoIsUnix(t *testing.
T
) {
11
qt.
Assert
(t, qt.
ErrorIs
(EPERM, unix.
EPERM
))
12
qt.
Assert
(t, qt.
ErrorIs
(ENOENT, unix.
ENOENT
))
13
}