Repository navigation
Commit b199b4d
committed
test(backups): catch a shared stoppedAt pointer in the Backup deep copy
The assertion compared the original's stoppedAt with the variable it
points to, so it held even when DeepCopy shared the pointer. It now
compares against the value saved before the copy is mutated.
Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <[email protected]>1 parent e186842 commit b199b4d
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
0 commit comments