(t *testing.T)
| 157 | } |
| 158 | |
| 159 | func TestConfigPath(t *testing.T) { |
| 160 | got := ConfigPath("/my/project") |
| 161 | want := filepath.Join("/my/project", ".codemap", "config.json") |
| 162 | if got != want { |
| 163 | t.Errorf("ConfigPath = %q, want %q", got, want) |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | func TestPolicyDefaultsAndClamps(t *testing.T) { |
| 168 | t.Run("defaults for empty config", func(t *testing.T) { |
nothing calls this directly
no test coverage detected