(t *testing.T)
| 208 | } |
| 209 | |
| 210 | func TestObjectiveMapping_String(t *testing.T) { |
| 211 | mapping := DefaultObjectiveMapping() |
| 212 | str := mapping.String() |
| 213 | assert.Contains(t, str, "ObjectiveMapping") |
| 214 | assert.Contains(t, str, "max") |
| 215 | |
| 216 | var nilMapping *ObjectiveMapping |
| 217 | assert.Equal(t, "nil ObjectiveMapping", nilMapping.String()) |
| 218 | } |
| 219 | |
| 220 | func TestLoadObjectiveMappingFromConfig_EnvVar(t *testing.T) { |
| 221 | // Save original env |
nothing calls this directly
no test coverage detected