diff --git a/internal/runtime/runtime_factory_test.go b/internal/runtime/runtime_factory_test.go index 33056fa30..d10933a55 100644 --- a/internal/runtime/runtime_factory_test.go +++ b/internal/runtime/runtime_factory_test.go @@ -131,13 +131,12 @@ func TestFactoryMethod(t *testing.T) { }, }, { - description: "empty mode raises error", + description: "empty mode returns modifier", cfg: &config.Config{ NVIDIAContainerRuntimeConfig: config.RuntimeConfig{ Runtimes: []string{"runc"}, }, }, - expectedError: true, }, }