(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestBaseConfigValidateBasic(t *testing.T) { |
| 59 | cfg := TestBaseConfig() |
| 60 | assert.NoError(t, cfg.ValidateBasic()) |
| 61 | |
| 62 | // tamper with log format |
| 63 | cfg.LogFormat = "invalid" |
| 64 | assert.Error(t, cfg.ValidateBasic()) |
| 65 | } |
| 66 | |
| 67 | func TestRPCConfigValidateBasic(t *testing.T) { |
| 68 | cfg := TestRPCConfig() |
nothing calls this directly
no test coverage detected