(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func Test_ApplyExtraFlagsWithEmpty(t *testing.T) { |
| 14 | mycmd := cobra.Command{} |
| 15 | flags, err := ApplyExtraFlags(&mycmd, []string{}, false) |
| 16 | assert.NilError(t, err, "Error applying extra flags") |
| 17 | assert.Equal(t, 0, len(flags), "Flags should be empty") |
| 18 | } |
| 19 | |
| 20 | func Test_ApplyExtraFlagsWithDevspaceFlags(t *testing.T) { |
| 21 | devspaceFlags := env.GlobalGetEnv("DEVSPACE_FLAGS") |
nothing calls this directly
no test coverage detected