Commit 3bc4a07
authored
Fix MockRepository example in docs (#19)
* Add Default implementation in example
* Derive Default for MockRepository in docs
Replace the manual implementation with the derive attribute in the rstest fixture example. This keeps the code concise and ensures the example compiles.1 parent ccba565 commit 3bc4a07
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
0 commit comments