(t *testing.T)
| 144 | } |
| 145 | |
| 146 | func TestResolveInput_AtFile_NotFound(t *testing.T) { |
| 147 | fio := &localfileio.LocalFileIO{} |
| 148 | dir := t.TempDir() |
| 149 | TestChdir(t, dir) |
| 150 | _, err := ResolveInput("@missing.json", nil, fio) |
| 151 | if err == nil || !strings.Contains(err.Error(), "cannot read file") { |
| 152 | t.Errorf("expected read error, got: %v", err) |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | func TestResolveInput_AtFile_PathValidation(t *testing.T) { |
| 157 | fio := &localfileio.LocalFileIO{} |
nothing calls this directly
no test coverage detected