mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
Use any instead of interface{}
The keyword is available since Go 1.18 (see https://pkg.go.dev/builtin#any). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -676,7 +676,7 @@ func TestInitSystemdProps(t *testing.T) {
|
||||
type expT struct {
|
||||
isErr bool
|
||||
name string
|
||||
value interface{}
|
||||
value any
|
||||
}
|
||||
|
||||
testCases := []struct {
|
||||
|
||||
Reference in New Issue
Block a user