(t *testing.T)
| 184 | } |
| 185 | |
| 186 | func TestBaseMissingFileIOErrorIsInternal(t *testing.T) { |
| 187 | p, ok := errs.ProblemOf(baseMissingFileIOError("file operations require a FileIO provider")) |
| 188 | if !ok { |
| 189 | t.Fatal("expected typed error") |
| 190 | } |
| 191 | if p.Category != errs.CategoryInternal || p.Subtype != errs.SubtypeFileIO { |
| 192 | t.Fatalf("category/subtype=%s/%s", p.Category, p.Subtype) |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | type assertErr struct{} |
| 197 |
nothing calls this directly
no test coverage detected