cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migrate tests to github.com/go-quicktest/qt

lmb opened this issue · comments

We currently use https://github.com/frankban/quicktest in our test suite. The API is full of any parameters and therefore needs some annoying work arounds when comparing non-int values:

qt.Assert(t, foo, qt.Equals, uint32(2))

We also rename the import from quicktest to qt.

There is a new "version" of the package which uses generics instead: https://github.com/go-quicktest/qt Migrate our testsuite to use the new qt package.