(t *testing.T)
| 90 | } |
| 91 | |
| 92 | func TestWrapRecords(t *testing.T) { |
| 93 | setupRecords(t, false) |
| 94 | defer teardownRecords(t) |
| 95 | |
| 96 | records, err := storage.LoadRecords(testFolder) |
| 97 | if err != nil { |
| 98 | t.Fatal(err) |
| 99 | } |
| 100 | |
| 101 | wrapped := WrapRecords(records) |
| 102 | if wrapped.records != records { |
| 103 | t.Fatal("unexpected records wrapped") |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | func TestWrappedRecordsFind(t *testing.T) { |
| 108 | setupRecords(t, true) |
nothing calls this directly
no test coverage detected