Commit 3f16033
committed
minor symfony#58746 [Process] Improve test cleanup by unlinking in a
This PR was merged into the 5.4 branch.
Discussion
----------
[Process] Improve test cleanup by unlinking in a `finally` block
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
Follwup for symfony#58711, I realized afterwards that we may unlink in `finally` block to ensure proper test clean up in case something goes wrong.
Commits
-------
5c547c9 [Process] Improve test cleanup by unlinking in a `finally` blockfinally block (alexandre-daubois)File tree
1 file changed
+20
-16
lines changed- src/Symfony/Component/Process/Tests
1 file changed
+20
-16
lines changedLines changed: 20 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
132 | 131 | | |
133 | | - | |
| 132 | + | |
134 | 133 | | |
135 | | - | |
136 | | - | |
| 134 | + | |
137 | 135 | | |
138 | | - | |
139 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
158 | 159 | | |
159 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
0 commit comments