mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-08-08 23:37:11 +00:00
Add a sceneo UT test to TestMustRunAsOptions
This commit is contained in:
@@ -29,6 +29,10 @@ func TestMustRunAsOptions(t *testing.T) {
|
||||
opts *extensions.SELinuxStrategyOptions
|
||||
pass bool
|
||||
}{
|
||||
"nil opts": {
|
||||
opts: nil,
|
||||
pass: false,
|
||||
},
|
||||
"invalid opts": {
|
||||
opts: &extensions.SELinuxStrategyOptions{},
|
||||
pass: false,
|
||||
|
||||
Reference in New Issue
Block a user