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