(t *testing.T)
| 73 | } |
| 74 | |
| 75 | func TestConfig_RegisterFlags(t *testing.T) { |
| 76 | cfg := runtimeconfig.Config{} |
| 77 | |
| 78 | // Test that flags are registered without panicking |
| 79 | require.NotPanics(t, func() { |
| 80 | flagSet := flag.NewFlagSet("test", flag.PanicOnError) |
| 81 | cfg.RegisterFlags(flagSet) |
| 82 | }) |
| 83 | } |
| 84 | |
| 85 | func TestNew(t *testing.T) { |
| 86 | tests := map[string]struct { |
nothing calls this directly
no test coverage detected