Commit b24496e
Fix tests that didn't throw exceptions as expected
These tests contained a double nested lambda. Therefore withEnvironmentVariable's execute only executed a Statement that created a Callable instead of executing the Callable. Co-authored-by: Stefan Birkner <mail@stefan-birkner.de>1 parent 416ca75 commit b24496e
File tree
1 file changed
+2
-2
lines changed- src/test/java/com/github/stefanbirkner/systemlambda
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
0 commit comments