mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 08:40:42 +00:00
Add a sceneo UT test to TestMustRunAsOptions
This commit is contained in:
parent
915798d229
commit
25052c591a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user