Commit 472dc6c
committed
refactor(persist_test_utils)!: Rewrite persist_test_utils
Changed the definition of `persist_*` functions to take a
`create_store` Fn (and no path) as the caller may want more
control of the path to the database file.
- deps: Make tempfile, anyhow dev-dependencies1 parent 67ec82d commit 472dc6c
3 files changed
Lines changed: 225 additions & 116 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
0 commit comments