2bfad4b0dc
Using an interface instead of a func is more flexible while achieving the same effect. It allows you to succintly define a large number of test cases as structs, as is common in table-driven testing. A helper func is added that converts the existing test funcs into the interface, so the change is fairly seamless. Signed-off-by: Erik Sipsma <erik@sipsma.dev> |
||
---|---|---|
.. | ||
containerd.go | ||
containerd_test.go |