(t *testing.T, w io.Writer, v interface{})
| 74 | } |
| 75 | |
| 76 | func prettyPrint(t *testing.T, w io.Writer, v interface{}) { |
| 77 | out, err := json.MarshalIndent(v, "", " ") |
| 78 | if err != nil { |
| 79 | t.Fatal(err) |
| 80 | } |
| 81 | w.Write(out) |
| 82 | } |
| 83 | |
| 84 | func TestConfigs(t *testing.T) { |
| 85 | dir, err := os.Open("testdata") |
no test coverage detected