(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestSetRunModeToUnknown(t *testing.T) { |
| 35 | err := SetRunMode("Unknown") |
| 36 | if err == nil { |
| 37 | t.Error("set Unknown runmode should be error") |
| 38 | } |
| 39 | SetRunMode(Dev) |
| 40 | } |
| 41 | |
| 42 | func TestSetRunModeToNil(t *testing.T) { |
| 43 | SetRunMode("") |
nothing calls this directly
no test coverage detected