(t *testing.T)
| 64 | } |
| 65 | |
| 66 | func TestIndexPathForId(t *testing.T) { |
| 67 | i := setupIndex("/foo") |
| 68 | if path := i.pathForID(1234); path != "/foo/1234.dat" { |
| 69 | t.Fatalf("unpexpected path: %s", path) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | func TestIndexPathFor(t *testing.T) { |
| 74 | i := setupIndex("/foo") |
nothing calls this directly
no test coverage detected