(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestIndexPathFor(t *testing.T) { |
| 74 | i := setupIndex("/foo") |
| 75 | testRecord.Id = 1234 |
| 76 | if path := i.pathFor(&testRecord); path != "/foo/1234.dat" { |
| 77 | t.Fatalf("unpexpected path: %s", path) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | func TestIndexForEach(t *testing.T) { |
| 82 | setupRecords(t, true, false) |
nothing calls this directly
no test coverage detected